Home » U++ Library support » TopWindow&PopUp, TrayIcon » How do you use PopUp
How do you use PopUp [message #2942] |
Mon, 01 May 2006 09:57  |
gprentice
Messages: 260 Registered: November 2005 Location: New Zealand
|
Experienced Member |
|
|
Is there a simple example of how to use PopUp?
The following doesn't work - nothing happens when the left mouse button is clicked. My efforts prior to this upset my operating system, requiring the help of task manager...
struct MyAppWindow : TopWindow {
Point p;
Ctrl c1;
Button button;
virtual void LeftDown(Point pos, dword flags) {
c1.Add(button.SetLabel("Button").LeftPosZ(10, 64).TopPosZ(10, 24));
c1.PopUp(this,false,true,false,true);
p = pos;
Refresh();
}
Thanks
Graeme
|
|
|
Goto Forum:
Current Time: Wed Apr 30 20:24:45 CEST 2025
Total time taken to generate the page: 0.00945 seconds
|