Will Rothwell
April 12th, 1999, 08:57 AM
Hi,
I have posted this question in beginner but I hear nothing so far. So I try my luck again.
I have a dialog box with 4 CEdit controls for user to enter names and password. I also put a CFileDialog in the dialog template and a static control with ID=stc32. The CFileDialog is initialised in MyDialog::OnInitDialog, for the user to pick directory.
This work fine but I cannot jump from one edit control to the next one when the "tab" key is pressed (as default window editing). When the "tab" key is pressed, the focus just jumps around the CFileDialog's controls only.
I read here that the CFileDialog is the parent of my dialog box. So how can the child controls in the dialog get a chance to receive focus. Can someone help please.
Will
I have posted this question in beginner but I hear nothing so far. So I try my luck again.
I have a dialog box with 4 CEdit controls for user to enter names and password. I also put a CFileDialog in the dialog template and a static control with ID=stc32. The CFileDialog is initialised in MyDialog::OnInitDialog, for the user to pick directory.
This work fine but I cannot jump from one edit control to the next one when the "tab" key is pressed (as default window editing). When the "tab" key is pressed, the focus just jumps around the CFileDialog's controls only.
I read here that the CFileDialog is the parent of my dialog box. So how can the child controls in the dialog get a chance to receive focus. Can someone help please.
Will