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 » [FEATURE] Setting TopWindow to urgent/flashing state
Re: [FEATURE] Setting TopWindow to urgent/flashing state [message #30887 is a reply to message #30883] Thu, 27 January 2011 20:02 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Slight optimalization for SyncCapion0() in TopWin32.cpp:
		if(urgent){
			if(IsTopMost()) urgent = false;
			FLASHWINFO fi;
			fi.cbSize = sizeof(fi);
			fi.hwnd = GetHWND();
			fi.dwFlags = urgent?FLASHW_STOP:FLASHW_TIMERNOFG|FLASHW_ALL;
			fi.uCount = 0;
			fi.dwTimeout = 0;
			FlashWindowEx(&fi);
		}


Honza
 
Read Message
Read Message
Read Message
Previous Topic: Trouble with IsMinimized / IsMaximized on X11
Next Topic: Windows that cant leave Mainwindow
Goto Forum:
  


Current Time: Sat Aug 09 20:26:03 CEST 2025

Total time taken to generate the page: 0.03273 seconds