Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: C++ Win32 API Get Monitor H/W  (Read 773 times)

0 Members and 1 Guest are viewing this topic.
C++ Win32 API Get Monitor H/W
« on: August 17, 2006, 06:55:52 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
Setting the position of the window can be fun... I want it centered. Any command that returns the H/W of the monitor?

Thank.
« Last Edit: March 01, 2007, 01:07:37 am by 4Sword »
Logged
the a o d c
Re: C++ Win32 API Get Monitor H/W
« Reply #1 on: August 17, 2006, 07:35:29 am »
  • The Broken King
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1259
A guy in my class was doing this very thing a week or two ago...I'll have to ask him tomorrow if he figured it out.

If you're using C++/CLI, I think it's a simple function in your form though.
Logged
  • Broken Kings [Temp Site]
Re: C++ Win32 API Get Monitor H/W
« Reply #2 on: August 17, 2006, 08:34:12 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
Im pretty sure it starts in the center by default actually, after some tests.
Logged
the a o d c
Re: C++ Win32 API Get Monitor H/W
« Reply #3 on: August 17, 2006, 05:18:05 pm »
  • The Broken King
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 1259
Yeah, it does.

I assumed you meant you wanted to be able to change it at will, in case the user moves it.
Logged
  • Broken Kings [Temp Site]
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.034 seconds with 42 queries.