Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invisible Dialogues
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00083915
Message ID:
00083983
Views:
29
>>Bill
>
>This may have something to do with the fact that GETFILE(), etc. are all calls to the Common Dialogs DLL and require a window handle. When the calling window isn't visible and is a parent window, apparently the dialog won't display, if it's simply owned by VFP it will. GETDIR() is VFP. I ran into the same problem. My solution was to use the ActveX control.

Hi George,

I basically decided to "fool" it by defining and creating a top level form which I set invisible, "move" it to -1000, Show() it, set it back invisible, then autocenter it again and run the dialog. Transparent to the user, but the dialog appears and in the middle of the screen. :-)

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform