Login
Discover
Waves
Communities
Write
Login
Signup
Topics
#
visualcpp
Explore topics
#visualcpp
Global
Trending
Hot
New
Payout
Muted
Promoted
#visualcpp
New
#visualcpp
Follow to get notified about new posts with this tag
Get #visualcpp by email
Follow
pepsiman
programming
8y
[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
Discover communities
Explore communities
Create your community