Re: Capture ESC Key for Dialog in wxEuphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...

The library will handle this for you automatically as long as you have a button with wxID_CANCEL.

Ah! OK. Good to know.

However, what if I wanted to dismiss the main window (your frmMain in the examples), or any window/dialog, with the ESC key, but not show a Cancel button? I'm sure that's possible, and no doubt more difficult... smile

ghaberek said...

Also, check out wxAboutDialogInfo for an easy way to make an "about" dialog (which it seems like you're trying to do).

It's more like an "About this System" dialog, where I need to show information related to the user's applications, his OS, and the program I've provided to him (version numbers, etc.). I'm thinking of using a properties grid control, because that's what I imagine it looking like. HOWEVER, I will check out the wxAboutDialog to see if it fits.

Thanks, Greg!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu