WM_NEXTDLGCTL and GetDlgItemID

  • Thread starter Thread starter farseer
  • Start date Start date
F

farseer

Is this message and function supported in compactframework?
I want to use it to navigate and setfocus to controls (classes of type
ATL:Button) on a dialogue (class: Dialog).

using SetFocus does not seem to work properly for dialogues. the
button may recieve focus, but the border of the button with focus does
not change.
 
looks like WM_NEXTDLGCTL works with PostMessage. haven't tried
GetDlgItemID...
 
You can use the CWindow::GotoDlgCtrl (for ATL) wrapper or
CDialog::GotoDlgCtrl (if you are using MFC)
 

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