|
-
Jun 2nd, 2000, 01:33 AM
#1
Thread Starter
Hyperactive Member
I am following the example from this page to retrieve the Screen Resolution using the API call: GetSystemMetrics. It is returning the X screen value in both variables. Here is my code:
ScrnResX = GetSystemMetrics(SM_CXSCREEN) & "X" & _ GetSystemMetrics(SM_CYSCREEN)
The call is returning: 1024X1024 in the string, but it should be returning: 1024X768
Why is it returning the X screen value twice??? How do I make it return 1024X768????
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|