-
I need to know the desktop settings of windows before starting my application. Because I need to adjust the
positions accordingly. Its a appln handling / modifying images. Like paint brush.
FYI
We need to put symbols related to telephone networks (which are not available in other s/ws)
we have created a separate tool.
I think there must be an API to give these info or may be thr. registry.
Regards
Harshad
-
there is an api, it's in the registry, but the easiest way is through VB's Screen Object!!!!
Code:
ScreenWidth = Screen.Widht / Screen.TwipsPerPixelX
ScreenHeight = Screen.Height / Screen.TwipsPerPixelY