I am using the Common Dialog ShowOpen to select a file to open using VB6. How can I ensure that the control is centered over the calling form. If I use two screens often the dialog control opens on the other screen and is hidden behind other windows.
JohnKelly
0
Light Poster
Recommended Answers
Jump to PostBy screens you mean monitors right? As in, you have two monitors, and you click "open" in your app, and it loads the commondialog on the other monitor?
Jump to PostOk, I have bad news. As far as I can tell, it can't be done with a commondialog control box. This is because the calling procedure (your app) gets frozen when the call to .showopen takes place. So, you call show open, and everything halts until the user either cancels, …
All 5 Replies
Comatose
290
Taboo Programmer
Team Colleague
JohnKelly
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
JohnKelly
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.