Good day. I met an application in which when you hover the cursor on the window border - the cursor does not change (it remains with an arrow), but you can click and drag the window or reduce it. How was this done? Search by existing window styles did not give a clear answer. The application is written in ATL, so the windows are standard - windows. Maybe someone can tell which styles have been applied or which additional parameters? Or in what direction to dig? Thank you all for your participation and answers.
1 answer
The frame of the application window is included in the non-client area. You can override window handlers for the non-client part of the window and set the shape of the cursor for them. Or take and sort through various combinations of styles , including the extended ones .
- oneWS_SIZEBOX will not work without WS_CAPTION - karmadro4
|