I have a basic Win32 dialog-based application. How do I make it resize?
If it was a window this would be possible by default (and it would fire WM_SIZE). I’m new to dialogs and I’m not able to figure out how to: 1. when mouse cursor hovers over the edge, it should change to IDC_SIZEWE or IDC_SIZENS, 2. just resize the dialog, I know how to position dialog’s content.
You don’t need to do the work yourself about moving the cursor to the edge, there is just a style you need to set in the .rc file or the dialog editor.
From the dialog editor: Set the border to Resizing to allow resizing of the dialog box.
From editing the .rc file directly: Append
| WS_THICKFRAMEto the line with STYLE