U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TopWindow&PopUp, TrayIcon » TopWindow not closed on Escape
TopWindow not closed on Escape [message #20009] Mon, 09 February 2009 14:56 Go to previous message
idaho is currently offline  idaho
Messages: 6
Registered: April 2007
Location: Frankfurt-am-Main
Promising Member

Hi all,

I have sortof a problem in here. I added a popup window to a project the following way:

WithPopupLayout<TopWindow> popup;
CtrlLayout(popup, t_("Translation"));
popup.entryShow.SetData("Some String"); //an edit control
popup.CenterScreen();
popup.RunAppModal();


The problem is that I don't know how to close the resulting window on escape. For other dialogs, I reimplemented the virtual Key method but how can I do something like this here? Is there another way about it?

Thanks in advance.
 
Read Message
Read Message
Read Message icon14.gif
Previous Topic: PromptOKCancel error;
Next Topic: Tranparent TopWindow
Goto Forum:
  


Current Time: Sun Apr 26 07:49:41 GMT+2 2026

Total time taken to generate the page: 0.00501 seconds