Hi, all !
I try to place non-modal elements on console window.
I create and register own class of windows -
(popup, parent is a console window) and have "full" access to all messages.
Now I imitate a work of "button", and after mouse-down I need to detect mouse-up (it's easy) and a moment, when mouse is leaving my window to do automatic "turn off".
I have "mouse-move" event, can understand that mouse is near border (for example, position (1,1)), but not more, because mouse-move not occurs with step 1 pixel.
Any ideas ?
Thanks
I try to place non-modal elements on console window.
I create and register own class of windows -
(popup, parent is a console window) and have "full" access to all messages.
Now I imitate a work of "button", and after mouse-down I need to detect mouse-up (it's easy) and a moment, when mouse is leaving my window to do automatic "turn off".
I have "mouse-move" event, can understand that mouse is near border (for example, position (1,1)), but not more, because mouse-move not occurs with step 1 pixel.
Any ideas ?
Thanks
Comment