Click to See Complete Forum and Search --> : How to know the clients moniter resolution


kkkk
April 14th, 1999, 01:23 AM
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

Jason Teagle
April 14th, 1999, 02:08 AM
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.

kkkk
April 14th, 1999, 02:30 AM
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

sally
April 14th, 1999, 02:46 AM
You are in the wrong discussion group

Try another one of CodeGuru's groups...

Sally

Sally
April 14th, 1999, 02:46 AM
You are in the wrong discussion group

Try another one of CodeGuru's groups...

Sally