Where do I put the TrackMouseEvent function if I want one of my child windows to get the hover message Does it go in WinMain() or in the WndProc() function of the child window

Re: Visual C++ General TrackMouseEvent


Neither; TrackMouseEvent() isn't your function: it's a Windows API function that you call. The window specified in the call will receive the messages.