dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: [RESOLVED] Resolution

  1. #1
    Join Date
    Jul 2006
    Posts
    285

    [RESOLVED] Resolution

    Hi
    I wanna ask how i can make a simple application getting with one button the resolution of the monitor that have the curret moment( for example 800x600) and return it to user by message

  2. #2
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,116

    Re: Resolution

    Did you even bother to search existing information here on CodeGuru???

    "Help comes best to those who show a serious effort"
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  3. #3
    Join Date
    Feb 2005
    Location
    Madrid (Spain)
    Posts
    511

  4. #4
    Join Date
    Jan 2008
    Posts
    178

    Re: Resolution

    Learn to Search on MSDN and Google Groups for such a question answered 150000 times...

  5. #5
    Join Date
    Jul 2006
    Posts
    285

    Re: Resolution

    Hey ok.. sorry.. If it bother you so much my question dont have to post..

  6. #6
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,116

    Re: Resolution

    Quote Originally Posted by Leite33 View Post
    Hey ok.. sorry.. If it bother you so much my question dont have to post..
    The link I provided had the EXACT answer to your post.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  7. #7
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,603

    Re: [RESOLVED] Resolution

    Quote Originally Posted by Leite33 View Post
    I wanna ask how i can make a simple application getting with one button the resolution of the monitor that have the curret moment( for example 800x600) and return it to user by message
    Let's dissect this to some simpler statements:
    • "make a simple application" must mean either console app or a dialog app
    • "with one button" ultimately means the application is a dialog
    • "get the resolution of the monitor" implies a single Window API call done in button click handler
    • "return it by message" must mean you design the form of "message" first: it might be a message box, or some text box in the dialog, or something else...
    What is the one of the above that currently is a stopper for you?
    Best regards,
    Igor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)