Login
Discover
Waves
Decks
Plus
Login
Signup
Topics
New
Trending
Hot
New
New
Trending
Hot
New
Controversial
Rising
Promoted
visualcpp
pepsiman
programming
Wednesday, June 20, 2018 4:44 AM
[MFC] how to get screen width, height
GetWindowRect(), GetDesktopWindow() CRect rc; ::GetWindowRect(GetDesktopWindow()->m_hWnd, &rc); int nWidth = rc.right - rc.left; int nHeight = rc.bottom - rc.top; GetSystemMetrics() int nWidth =
$ 0.000
3
1
Top communities
Create decentralized community