- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can I determine the size (in pixels) of the available display? I need this information for adjusting the Frame Window to the actual display size.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use either
GetSystemMetrics(SM_CXSCREEN/SM_CYSCREEN)
or, better,
SystemParemetersInfo(SPI_GETWORKAREA).
The latter takes into account taskbar settings.
Jugoslav
GetSystemMetrics(SM_CXSCREEN/SM_CYSCREEN)
or, better,
SystemParemetersInfo(SPI_GETWORKAREA).
The latter takes into account taskbar settings.
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Jugoslav. It works for me.
ltabarov
ltabarov
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page