June 21, 2025, 05:26:02 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Cancel button?

Started by carpman2007, January 13, 2007, 01:46:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

carpman2007

I know that @CTLBTNDEFAULT is the flag used to specify the default button on a dialog...

Is there a flag that can be used to designate a *cancel* button as well?

Ionic Wind Support Team

Use a control ID of 2 for a CANCEL button and a control ID of 1 for an OK button.  In your handler respond to ID 2 by closing the dialog. That way the escape key will work as well.

Paul.
Ionic Wind Support Team

carpman2007