Has anyone gotten this to work?
Oh wait... I have gotten it to work because it won't compile. It says it requires NT 4.0 or greater... or Win98 or greater... well I am using NT 4.0 and its not....
Printable View
Has anyone gotten this to work?
Oh wait... I have gotten it to work because it won't compile. It says it requires NT 4.0 or greater... or Win98 or greater... well I am using NT 4.0 and its not....
what's your code?
I dont really have any code...
you pass a TRACKMOUSEEVENT struct into the
TrackMouseEvent(), which tells the system to send other mouse related window messages (eg. WM_MOUSEHOVER)...
I get undeclared identifiers when I try to do this.
does your project define WINDOWS_LEAN_AND_MEAN ? Multimedia for example is disabled by this...
I did have it defined, but it didnt make a difference when I removed it...
Out of curiousity... what else does WIN32_LEAN_AND_MEAN get rid of?
That's a lot. Multimedia, OLE, common dialogs, winsock, the shell API, Printer and some more...Code:#ifndef WIN32_LEAN_AND_MEAN
#include <cderr.h>
#include <dde.h>
#include <ddeml.h>
#include <dlgs.h>
#ifndef _MAC
#include <lzexpand.h>
#include <mmsystem.h>
#include <nb30.h>
#include <rpc.h>
#endif
#include <shellapi.h>
#ifndef _MAC
#include <winperf.h>
#if(_WIN32_WINNT >= 0x0400)
#include <winsock2.h>
#include <mswsock.h>
#else
#include <winsock.h>
#endif /* _WIN32_WINNT >= 0x0400 */
#endif /* ! _MAC*/
#ifndef NOCRYPT
#include <wincrypt.h>
#endif
#ifndef NOGDI
#include <commdlg.h>
#ifndef _MAC
#include <winspool.h>
#ifdef INC_OLE1
#include <ole.h>
#else
#include <ole2.h>
#endif /* !INC_OLE1 */
#endif /* !MAC */
#endif /* !NOGDI */
#endif /* WIN32_LEAN_AND_MEAN */
Browse <windows.h> if you want to know more.