|
-
April 6th, 1999, 04:59 AM
#1
HOWTO: override the destruction of a window by clicking 'enter'
I would like to override the default function that destroys the current dialog when I press the Enter key. To avoid this, I have to create a useless default button and set the 'default' property to it. Any solution?
-
April 6th, 1999, 05:03 AM
#2
Re: HOWTO: override the destruction of a window by clicking 'enter'
Override OnOk, and don't call the base class
HTH.
K.
Ash to ash and clay to clay, if the enemy doesn't get you, your own folk may.
We're talking ****, 'cause life is a 'biz
You know it is
Everybody tryin' to get rich
God ****!
All I wanna do is live !
KoRn, Children of the Korn
-
April 6th, 1999, 05:05 AM
#3
Re: HOWTO: override the destruction of a window by clicking 'enter'
Override the WM_COMMAND, send by default procedure with IDOK as parameter.
Sincerely Mihai
-
April 6th, 1999, 07:18 AM
#4
Re: HOWTO: override the destruction of a window by clicking 'enter'
It's working, many thanks...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|