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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top