Welcome Guest!
 VB Helper Q & A
 Previous Message All Messages Next Message 
RE: Monitor Resolution  Phil McCarthy
 Aug 04, 2001 15:11 PDT 
Hey Bob

Private Declare Function GetDeviceCaps Lib "gdi32" _
   (ByVal hdc As Long, _
    ByVal nIndex As Long) As Long

It starts with this and the rest is

you can get from


Use the search device and check ot

Obtaining the Current Display Settings

Unfortunately copyright means I can't post all of it here - but I have
checked it out and I'm pretty sure it's what you want - I think - that
ol' branch cracking perhaps.

As for NT - doesn't that mean the same as PS - or is that NB????

Onwards boB (never forget ya pal!!!!)


Bob Ceccarelli wrote:
 Hi Everyone,

Good to see ya'll again. How's the South treating you, Phil?

Actually, I have a problem with a VC++ proggy I've been hacking away at.
But if anyone can come up with the answer, it'll be you guys. I need the
API that returns the monitor resolution. EG 800x600 or 1024x768 or
whatever. I looked at GetSystemMetrics and a few others but can't seem
to find one that does the job.

Also, I am very interested in VB.Net. If anyone stumbles across any good
stuff, please post. I'll do the same.

Bob Ceccarelli
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Food & Drink
 Health & Fitness
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.