Originally Posted By: tfabris
Originally Posted By: Roger
We had to draw it by hand and then handle the WM_NCHITTEST message to return HTBOTTOMRIGHT.


That makes sense from a hack-it-to-make-it-work point of view. I may have to resort to that.

Do you remember if it was truly that simple? Or was there more to it than that?


I think that was all we needed to do. Might have needed to tweak the window style (WS_ flags) to get a resizable thin border. WM_NCHITTEST is, frankly, tragically underused, because it's awesome.

Note: it's _not_ a hack. This is exactly how Windows implements resizing -- DefWindowProc consumes WM_NCHITTEST and returns the relevant value. HTCAPTION is a good one, too -- makes the whole window draggable for free.
_________________________
-- roger