|
-
May 6th, 1999, 12:56 PM
#1
Tabbing Problem with ActiveX
I have been having a problem with tabbing in 2 different situations.
1. I create a dialog template in the resource workshop (I set the tabstops, tab order, and groups appropriately). Now at runtime, I create this dialog and place it inside of a window. The window I pass the pointer to the window as the parent to the dialog in the Create(...) call. When a control on the dialog has focus, and I press the Tab or Shift-Tab keys, the focus leaves the control that was in focus, but does not go anywhere else... (basically it goes to never-never land). I can click anywhere with my mouse pointer and it works fine. But I cannot tab around the controls on the dialog, or use the arrows on my keyboard.
2. Same tabbing problem as above, but this is when I make a CDialog in the resource workshop, and then at run time, I place 2 active X controls on the dialog. I created these activeX controls myself...
So, are there some flags or settings somewhere that I am missing? Do I need to override some virtual functions to intercept the Tab and Arrow keys?
Let me know if you have actually done this yourself, and what solution you found...
Thanks,
Curtis
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
|