wxDialog and ESC key

bernard bernard.xiong at gmail.com
Sat Aug 5 05:56:27 PDT 2006


Yes, thank you so much!

Best Regards,
Bernard

Vadim Zeitlin 写道:

> On 3 Aug 2006 20:08:50 -0700 bernard <bernard.xiong at gmail.com> wrote:
>
> b> In windows, I wrote a dialog which is inherited from wxDialog:
> b> In this dialog, I put some wxTextCtrl, and show it in modeless. But, I
> b> want to this dialog can be closed when input ESC key. How shall I do?
>
>  Create a button with either wxID_CANCEL or wxID_OK identifier which closes
> the dialog.
>
>  Regards,
> VZ
>
> --
> TT-Solutions: wxWidgets consultancy and technical support
>                http://www.tt-solutions.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org







More information about the wx-users mailing list