Can I subclass different controls,for ex editBox & comboBox in one proc. Another Q: How can I make pressing Enter Key behaves like pressing Tab Key. Thanks.
Posted on 2001-06-10 20:52:00 by a.nada
Can I subclass different controls,for ex editBox & comboBox in one proc.
Yes, you can.
Posted on 2001-06-11 04:24:00 by Iczelion
How to make enter key behave like tab key: I think you mean the default behavior of enter and tab in a dialog box? If this is true, you can do: 1) use a application defined dialog box class or 2) subclass your dialog box window when receiving WM_INITDIALOG message. In your window proc, check for WM_KEYDOWN/WM_KEYUP messages and change virtual key to before default processing.
Posted on 2001-06-11 05:12:00 by Japheth
Thanks Iczelion,Japheth.
Posted on 2001-06-11 18:02:00 by a.nada