|
-
September 10th, 2003, 06:19 PM
#1
Windows taskbar width and height
Hello.
I like having the windows taskbar on the top of my screen, so sometimes new windows that appear on the top are covered by it, I can't move them and it gets annoying.
I have made a program which can see where the taskbar is and positions itself a little better. For example, if the taskbar is on the top of the screen and the user has selected the program to appear on the top of the screen as well, then I subtract something from Form1.top.
This works perfectly on my machine, as I subtract exactly the taskbar height, but this number may vary in other machines.
I have Windows XP but I have selected the old windows 98 style. The normal XP taskbar is thicker. Or someone could have a bigger taskbar by dragging it...
So the problem is, how can I know the windows taskbar's real height (when it's on top or bottom) and width (when it's left or right of the screen)?
Visit www.greekroms.net
Greek translations of roms
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
|