PDA

Click to See Complete Forum and Search --> : TrackMouseEvent


rippin
May 22nd, 2001, 09:45 PM
Hello all,

Quick question. I want to use the TrackMouseEvent function in Windows to notify me when the mouse leaves my window. However, I get compiler errors stating that the structure TRACKMOUSEEVENT, as well as the TrackMouseEvent function, is an unresolved external symbol. I have included <windows.h>, but it would seem that TrackMouseEvent is not included in the header file. I have VC++6. Is there a newer windows.h header file than the one that comes with VC++6? And, if so, where do I get it. Please oh please don't tell me I have to download the latest SDK.

OK, so that wasn't such a quick question...sorry

Rippin

Vlatko
May 23rd, 2001, 07:21 AM
Can you post the code? Are you sure you are compiling a Win32 APP?

rippin
May 23rd, 2001, 01:11 PM
I don't have the code right now, I'm at work, but I am positive that I am compiling a Win32 application. I have a fully function app and I simply wanted to add some "hot-tracking" to a owner-drawn control I created. All the other Windows functions seem to be there, and if I comment out the TrackMouseEvent stuff, it compiles and executes just fine (except, obviously, my "hot-tracking" code does not execute).