How to do an action when the dialog close(click Ok or X)? 
Author Message
 How to do an action when the dialog close(click Ok or X)?

Ok or X? To handle Ok, write your own OnOK handler in the class associated
with the dialog. If you are using pure API, catch BN_CLICKED notification
from IDOK button. As to X, it must not be visible is OK is present.

--
Sincerely,
Alexander


http://www.*-*-*.com/ - Russian Software Developer Network


Quote:
> hi,
> How to do an action when the dialog close(click Ok or X)?
> kelvin




Sun, 01 May 2005 00:07:39 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Close Dialog with Single Click in Client Area

2. Click Esc key to close the modeless dialog box

3. How to do action on clicking button?

4. Ok, how would i go about doing this?

5. Handling a click on the OK button in a formview

6. Problem with message box (runtime error after I click OK)

7. how2 click OK button from diff. app

8. What message come when click OK button?

9. Enter key on dialog embedded in dialog not doing OnOK

10. Refresh one Dialog after pressing OK in an other dialog

11. Property Sheets: OK, Cancel, Apply, Close buttons: How?

12. how to create a window without any close button (include OK button and X button)

 

 
Powered by phpBB® Forum Software