|
-
April 8th, 1999, 04:53 AM
#1
CFileDialog, give my child (controls) a chance. How to please !
Hi all,
I have a dialog box functions as a directory picker and want to make use of CFileDialog. To do that I put a static text with ID=stc32 in the dialog template and some other CEdit boxes for user to enter names and password etc. A CFileDialog is instantiated in the CMyDialog::OnInitDialog. I also "HideControl"ed the OK button and others default control as I only need the dir. list and the drop down combo box. It seems to works, BUT
My problem is my edit boxes cannot get focus. I can use the mouse to force focus on an edit box to input text but when I press "tab" the focus jump back to the CFileDialog's combo and file list. I have set the tab order on the dialog template but no effect. I read about that the CFileDialog is actually the parent and my controls are children. Can somebody please tell me how to make my child controls able to receive focus when user presses the tab key. Many thanks.
Will Rothwell
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
|