MWE
02-22-2006, 05:28 PM
I am running Office 2000. I am trying to position a form in the lower left corner of the active window. It would seem that setting the top of the form to the height of the window - the height of the form and the left edge of the form to, say, 10 would work.
But the problem is that I tend to place the Windows toolbar/taskbar on the left side of the screen (vs default along the bottom) and some applications get a bit confused. Word displays correctly, i.e., the display window is positioned to fill up the available screen, but when you work with ActiveWindow, it thinks the left edge of the window is all the way to the left edge of the absolute screen. So the target form is partially hidden by the Windows taskbar. I can adjust the left side of the target form to compensate for that, but should I put the taskbar back to the bottom, then the form position is incorrect.
Any suggestions?
But the problem is that I tend to place the Windows toolbar/taskbar on the left side of the screen (vs default along the bottom) and some applications get a bit confused. Word displays correctly, i.e., the display window is positioned to fill up the available screen, but when you work with ActiveWindow, it thinks the left edge of the window is all the way to the left edge of the absolute screen. So the target form is partially hidden by the Windows taskbar. I can adjust the left side of the target form to compensate for that, but should I put the taskbar back to the bottom, then the form position is incorrect.
Any suggestions?