Default Tooltip Control Message Processing

This section describes the window messages handled by the window procedure for the TOOLTIPS_CLASS window class.

Message Default processing
WM_CREATE Ensures that the tooltip control has the WS_EX_TOOLWINDOW and WS_POPUP window styles. It also allocates memory and initializes internal variables.
WM_DESTROY Frees resources allocated for the tooltip control.
WM_GETFONT Returns the handle of the font currently selected into the DC for the tooltip control.
WM_MOUSEMOVE Hides the tooltip window.
WM_PAINT Draws the tooltip window.
WM_SETFONT Selects a new font handle into the DC for the tooltip control.
WM_TIMER Hides the tooltip window if the tool has changed position or if the cursor has moved outside the tool. Otherwise, it shows the tooltip window.
WM_WININICHANGE Resets internal variables that are based on system metrics.