
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