I am creating an app that I want to be a.] non-resizable
and b.] set at the bottom right corner of the users screen by default
Could someone point me in the right direction? I am not using MFC -
Thank you
exle
Printable View
I am creating an app that I want to be a.] non-resizable
and b.] set at the bottom right corner of the users screen by default
Could someone point me in the right direction? I am not using MFC -
Thank you
exle
If you currently have any code, post it.
Here are some things that may interest you:
GetSystemMetrics()
WS_SIZEBOX
Look those up and you should be able to work it out.
Hi,
I tried this:
(you could replace the 640 and 480 with x, y variables)Code:hDesktop = GetDesktopWindow();
GetClientRect(hDesktop, &DeskRect);
MoveWindow(hwnd, DeskRect.right-640, DeskRect.bottom-480, 640, 480, true);
This works fine except the taskbar is over the client area of the desktop window so the window appears under it, and I can't find a way as yet to find the width of the taskbar.