Increase resizing border width....
-
Use the MoveWindow function Ex. MoveWindow(&myRect, TRUE);
-
You can do that in a number of ways. 1) you can use WM_NCCALCSIZE to recalculate the size of the client area for your window or dialog, by reducing the default size of your client area that will increase the size of the borders. 2) You can handle the WM_NCHITTEST yourself, and return the HTRIGHT, HTBOTTOM etc for all of the border cases, and increase the dimensions that count as the border. This will make all of the other default message handlers act as if the border is wider. In either of these cases I would handle the WM_NCPAINT message in order to paint and extend the appearance of hte width of the new border that you create.
Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life! -
You can do that in a number of ways. 1) you can use WM_NCCALCSIZE to recalculate the size of the client area for your window or dialog, by reducing the default size of your client area that will increase the size of the borders. 2) You can handle the WM_NCHITTEST yourself, and return the HTRIGHT, HTBOTTOM etc for all of the border cases, and increase the dimensions that count as the border. This will make all of the other default message handlers act as if the border is wider. In either of these cases I would handle the WM_NCPAINT message in order to paint and extend the appearance of hte width of the new border that you create.
Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!