Home » U++ Library support » TopWindow&PopUp, TrayIcon » [FEATURE] Setting TopWindow to urgent/flashing state
Re: [FEATURE] Setting TopWindow to urgent/flashing state [message #30895 is a reply to message #30883] |
Thu, 27 January 2011 22:16 |
|
Testedon windows Vista and it works fine
Only problem is when compiling with Mingw, there is probably some bug in mingw headers, causing FLASHWINFO to be undeclared. So to fix it, following must be added at te top of TopWin32.cpp:#ifdef COMPILER_MINGW
extern "C"{
struct FLASHWINFO {
UINT cbSize;
HWND hwnd;
DWORD dwFlags;
UINT uCount;
DWORD dwTimeout;
};
WINUSERAPI BOOL WINAPI FlashWindowEx(FLASHWINFO*);
}
#define FLASHW_STOP 0
#define FLASHW_CAPTION 0x00000001
#define FLASHW_TRAY 0x00000002
#define FLASHW_ALL (FLASHW_CAPTION | FLASHW_TRAY)
#define FLASHW_TIMER 0x00000004
#define FLASHW_TIMERNOFG 0x0000000C
#endif
Honza
|
|
|
Goto Forum:
Current Time: Fri Jun 07 06:15:03 CEST 2024
Total time taken to generate the page: 0.00801 seconds
|