-
November 11th, 2014, 01:28 AM
#1
GetOpenFileName() Positioning Problem
Hi guys,
When I call GetOpenFileName() it opens in the top-left corner for a split-second before appearing in the center of the screen.
I tried different parameters for OPENFILENAME.hwndOwner and OPENFILENAME.hInstance but it didn't help.
I noticed that if I enable a hook with the flag OFN_ENABLEHOOK it displays fine but it's an older style dialog box, I want the Win 8 one that I get without the hook flag.
What should I do ?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|