Tab keys in a modeless dialog part of an activex dll 
Author Message
 Tab keys in a modeless dialog part of an activex dll

Hi.
Could anyone tell me how to get the functionality of tab keys adn other
keyboard related stuff to work in a modeless dialog, part of an activex
dll.

Thanks in advance,
KK.



Thu, 01 Jun 2000 03:00:00 GMT  
 Tab keys in a modeless dialog part of an activex dll

Following is the fix for a SDK program. You can do the same stuff by
overriding CWinApp::Run ()..

This problem can be corrected by adding a call to IsDialogMessage() in
the application's main message loop.

MORE INFORMATION
A typical message loop might resemble the following
   while (GetMessage(&msg,NULL,NULL,NULL))
     {
        if ( ghFFRDlg==NULL || !IsDialogMessage(ghFFRDlg, &msg) )
           {
              TranslateMessage(&msg);
              DispatchMessage(&msg);
           }
     }
where ghFFRDlg is a global window handle for the currently active
modeless dialog box.

Quote:

> Hi.
> Could anyone tell me how to get the functionality of tab keys adn other
> keyboard related stuff to work in a modeless dialog, part of an activex
> dll.

> Thanks in advance,
> KK.

--
Girish Bharadwaj
Software developer
http://members.tripod.com/~GBharadwaj/index.html




Fri, 02 Jun 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Modeless dialog and tab key...

2. Problem with TAB control and a MODELESS dialog in a ATL COM DLL

3. Problem with TAB control and a MODELESS dialog in a ATL COM DLL

4. Using TAB in modeless dialog loaded from dll

5. HELP - Using TAB in modeless dialog loaded from dll

6. No key events in modeless dialog from dll

7. Q: tabbing not possible in modeless propertysheet / modeless dialog

8. Q: Changing Focus via TAB key not possible in Dialog situated in DLL

9. Modeless dialog from ActiveX DLL

10. tab key not tabbing in my dialog

11. Show modeless form in VB ActiveX DLL from C++ MFC DLL

12. ActiveX control - no response to Tab-key

 

 
Powered by phpBB® Forum Software