Thread: screen resolution

  1. #1
    Registered User cppdude's Avatar
    Join Date
    Jan 2002

    screen resolution

    how do i get the current screen resolution?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    int cx, //screen width
         cy;//screen height
    cx = GetSystemMetrics(SM_CXFULLSCREEN);
    cy = GetSystemMetrics(SM_CYFULLSCREEN);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ubuntu screen resolution
    By lruc in forum Tech Board
    Replies: 13
    Last Post: 11-27-2008, 05:03 PM
  2. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 04:56 PM
  3. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  4. Getting the screen resolution
    By Finchie_88 in forum Windows Programming
    Replies: 2
    Last Post: 10-26-2004, 06:03 PM
  5. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM