|
-
April 14th, 1999, 01:23 AM
#1
How to know the clients moniter resolution
My problem is to display my web page according to client's moniter resolution.Like if client screen resolution is 640*480,then page should occupy full page .If less it should adjust according to it.
Like i am using a table to display my contents of my page.Now width of the table should vary according to screen resolution.
Any help is appreciated
thanks
kapil
-
April 14th, 1999, 02:08 AM
#2
Re: How to know the clients moniter resolution
Call ::GetSystemMetrics(SM_CXSCREEN) to get the width and ::GetSystemMetrics(SM_CYSCREEN) to get the height. There are many other useful sizes you can get from this function call as well, take a look.
-
April 14th, 1999, 02:30 AM
#3
Re: How to know the clients moniter resolution
Thanks for above solution.But that's i think using C++,i want the solution using ASP or javascript.
Is it possible doing this in ASP
kapil
-
April 14th, 1999, 02:46 AM
#4
Re: How to know the clients moniter resolution
You are in the wrong discussion group
Try another one of CodeGuru's groups...
Sally
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
|