Is there anybody who understands IsDialogMessage and WM_GETDLGCODE

  • Thread starter Thread starter Saurabh
  • Start date Start date
S

Saurabh

Has anybody tried using the IsDialogMessage API call? I have a tabcontrol in
my dialog, and the key inputs do not get translated properly on the tab
control.

TIA,

--Saurabh
 
My documentation says the call is used to determine whether the given message is intended for a particular dialog.

The call looks like it belongs in the main event handling loop. If a received message returns true from IsDialogMessage, then no further processing, outside of the dialog, should be necessary.

The doc also says no subsequent call to TranslateMessage or DispatchMessage is necessary.
 
Back
Top