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

Home » U++ Library support » TopWindow&PopUp, TrayIcon » ColorPopUp Problem
Re: ColorPopUp Problem [message #3673 is a reply to message #3664] Mon, 12 June 2006 15:36 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Well, the problem is obvious:

"PopUp" just opens ("launches") the popup window, nothing else. More specifically, it does not run any form of message loop.

What you do here is to construct ColorPopUp, then popup it, but just right after that you destruct it.

To solve this trouble, make your ColorPopUp member variable instead of local.

I recommend CtrlLib/ColorPusher for study... Smile

Mirek
 
Read Message icon9.gif
Read Message
Read Message icon14.gif
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Splash Screen
Next Topic: Resizing a TopWindow but keeping the width/height ratio fixed?
Goto Forum:
  


Current Time: Sat Jun 20 20:59:45 GMT+2 2026

Total time taken to generate the page: 0.00526 seconds