Hello, this const i wrote on the subject of this message is the name of the message that windows send to a window when the mouse i hover over the title of the window. When the user click the minimized, maximize or close button on the window title this message sent with the parameters HT_MIN, HT_MAX and HT_CLOSE depend on which button you hover, the second parameter is the mouse event and it's WM_RBUTTONDOWN, WM_LBUTTONDOWN, WM_RBUTTONUP and so on.

What is like to know?
How can i catch the messages that sent to all the windows onscreen with this type of message and pass on the message so i will not disable the button functionality.

Is sum: i need to catch all the messages that their type is WM_SETCURSOR and the mouse event is WM_RBUTTONDOWN.

Thank you very much for the help,
Kiron.