Page 1 of 1

wxPopupTransientWindow with controls on it

Posted: Wed Oct 13, 2010 12:00 pm
by Satervalley
Hi, friends.
I have a listbox and a textctrl on a panel which is a child of a wxPopupTransientWindow.
In a dialog, if a button clicked, the wxPopupTransientWindow popuped by calling it Popup function. I find that the listbox and textctrl both can not get focus and can not answer mouse and key events. thank u for help me solve this problem.

Posted: Wed Oct 13, 2010 2:27 pm
by Satervalley
my wxWidgets version is 2.9.1, os is windows 7.
If it's imporssible to make listbox and textctrl work correctly on wxPopupTransientWindow, any hint for implements similar function from scratch is appreciated.

Posted: Wed Oct 13, 2010 5:02 pm
by eranif
Have a look at the wxWidgets samples, they contains a demo for using wxPopupTransientWindow with controls on it (samples/popup)

Eran

Posted: Thu Oct 14, 2010 1:14 am
by Satervalley
eranif wrote:Have a look at the wxWidgets samples, they contains a demo for using wxPopupTransientWindow with controls on it (samples/popup)

Eran
Thank you, Eran!
I've already compiled and run the sample before I post this question. As a result, the button and spin control works normally, but the edit control can not accept key types.

Re: wxPopupTransientWindow with controls on it

Posted: Sat Jun 25, 2016 7:29 am
by gunterkoenigsmann
Found another reference to this problem: http://trac.wxwidgets.org/ticket/13740