03-20-2007, 04:04 PM
When I have (smart) dialog and press the enter key, it closes the dialog. I want that enter key does just same as pressing main button(i.e. "Send")..
Dialogs: Pressing enter-key
|
03-20-2007, 04:04 PM
When I have (smart) dialog and press the enter key, it closes the dialog. I want that enter key does just same as pressing main button(i.e. "Send")..
03-20-2007, 05:41 PM
Return 0 on IDOK.
,case IDOK ,ret
03-21-2007, 12:22 PM
03-21-2007, 12:30 PM
Add OK button.
03-21-2007, 02:15 PM
Gintaras Wrote:Add OK button.How I make a button to be the OK?
03-21-2007, 02:18 PM
it's kind of complicated to explain but if you go to "dialog editor" in the help, it will show you how to edit it.
03-21-2007, 02:23 PM
I found that OK button is always the id 1..
It has also 0x4 like cancel. Others have 0x0. What is that?
03-21-2007, 02:37 PM
that's some windows thing.....that's the best i can do...."windows thing".
03-21-2007, 04:15 PM
In dialogs, buttons with id 1 (IDOK) and 2 (IDCANCEL) are special buttons. They are related with Enter and Esc keys and with closing the dialog. If you removed them, you can add them in Dialog Editor.
|
« Next Oldest | Next Newest »
|