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
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.
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials
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.
Thor's self help tip:
Maybe a neighbor is tossing leaf clippings on your lawn, looking at your woman, or harboring desires regarding your longboat. You enslave his children, set his house on fire. He shall not bother you again.
OS: Windows XP
Compiler: MSVC