|
-
February 20th, 2010, 05:18 AM
#1
minimize window
Hi,
I'd like my app to show a small dialog when the main windows is minimized. Now, I think that's not a big deal to cacth the message when the main window gets minimized. Also, this is how the small dialog should look like:
Code:
IDD_MINIMIZE DIALOG 0, 0, 400, 10
STYLE DS_FIXEDSYS | WS_VISIBLE | WS_BORDER | WS_POPUP
FONT 8, "Ms Shell Dlg 2"
BEGIN
LTEXT "Static", IDC_STATIC, 191, 1, 19, 8, SS_LEFT
END
Yet, the small window cannot be dragged! Do you think it is possible to add a little something to the very left of the dialog to allow user to drag it?
thanks
-
February 20th, 2010, 10:28 AM
#2
Re: minimize window
If you don't provide a title bar, then you will have to handle hit tests (non-client hit tests if outside the client area) to determine when the mouse is withing your "drag" zone and do all the moving yourself.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|