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 » PromptOKCancel error;
Re: PromptOKCancel error; [message #19664 is a reply to message #19653] Thu, 01 January 2009 19:23 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Intersting. The problem is that GetTopWindows doesn't filter out your TrayIcon, so the dynamic_cast fails and returns NULL.

TrayIcon is unique in that it is the only Ctrl that I know of that has a top-level window but is neither a TopWindow or a PopUp.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TopWindows WhenMinimize event
Next Topic: TopWindow not closed on Escape
Goto Forum:
  


Current Time: Mon Aug 18 08:22:27 CEST 2025

Total time taken to generate the page: 0.06303 seconds