Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Multiple common dialogs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multiple common dialogs

 Post Reply Post Reply
Author
Message
tomurphy View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2008
Location: Australia
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote tomurphy Quote  Post ReplyReply Direct Link To This Post Topic: Multiple common dialogs
    Posted: 06 June 2008 at 12:53am
Hi All
 
Newbie here.
 
I am using the common dialog control to be able to select folders.  I've got it all working but I can open multiple dialogs.  Is there a way to only open one by disallowing access to the application until a folder is selected or the dialog cancelled.
 
The language I am using is Visual Dataflex 2008 on Vista Business.
 
Cheers
Tom
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2008 at 11:40pm
I think you didn't set the ParentHwnd property.
Back to Top
tomurphy View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2008
Location: Australia
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote tomurphy Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2008 at 9:46pm

Thanks for that, that was it. Though I tested it under VB, VDF doesn't seem to be exposing this method but that's there problem.

Cheers
Tom
Back to Top
tomurphy View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2008
Location: Australia
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote tomurphy Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2008 at 10:27pm
Went back to my VDF code and did find the ParentHwnd method and after setting that all works fine in VDF.
 
Cheers
Tom
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.