Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 14256
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: Thu May 01 01:01:47 CEST 2025

Total time taken to generate the page: 0.03318 seconds