010
24.10.2003, 15:53 Uhr
FloSoft
Medialer Over-Flow (Administrator)
|
das steht bei mir drin:
C++: |
WINUSERAPI BOOL WINAPI FlashWindow( IN HWND hWnd, IN BOOL bInvert);
#if(WINVER >= 0x0500) // heißt ab Win2k typedef struct { UINT cbSize; HWND hwnd; DWORD dwFlags; UINT uCount; DWORD dwTimeout; } FLASHWINFO, *PFLASHWINFO;
WINUSERAPI BOOL WINAPI FlashWindowEx( PFLASHWINFO pfwi);
#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 /* WINVER >= 0x0500 */
|
WINVER ist in der stdafx.h definiert:
C++: |
// Modify the following defines if you have to target a platform prior to the ones specified below. // Refer to MSDN for the latest info on corresponding values for different platforms. #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later. #define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later. #endif
|
Zum Thema WINVER gibts noch folgendes in der MSDN:
C++: |
Minimum System Required Macros to Define Windows 95 and Windows NT 4.0 WINVER=0x0400 Windows 98 and Windows NT 4.0 _WIN32_WINDOWS=0x0410 and WINVER=0x0400 Windows NT 4.0 _WIN32_WINNT=0x0400 and WINVER=0x0400 Windows 98 _WIN32_WINDOWS=0x0410 [b]Windows 2000 _WIN32_WINNT=0x0500 and WINVER=0x0500 [/b] Windows Me _WIN32_WINDOWS=0x0490 Windows XP and Windows .NET Server _WIN32_WINNT=0x0501 and WINVER=0x0501 Internet Explorer 3.0, 3.01, 3.02 _WIN32_IE=0x0300 Internet Explorer 4.0 _WIN32_IE=0x0400 Internet Explorer 4.01 _WIN32_IE=0x0401 Internet Explorer 5.0, 5.0a, 5.0b _WIN32_IE=0x0500 Internet Explorer 5.01, 5.5 _WIN32_IE=0x0501 Internet Explorer 6.0 _WIN32_IE=0x0560 or _WIN32_IE=0x0600
|
-- class God : public ChuckNorris { }; Dieser Post wurde am 24.10.2003 um 15:54 Uhr von FloSoft editiert. |