Thursday, October 8, 2009

programs opening up behind the taskbar when the taskbar is on the top of the screen

Recently I began to keep my taskbar at the top of my screen. I've noticed that often times programs will open up behind the taskbar at the top of the screen. Because of this, they cannot be moved and part of the window content is hidden. I've done searching online and have not found an answer or solution to this problem. It boils down to this: when you write a program, you can set the position of the window when it opens. The position can either be system managed or you can set it manually. So, many programmers choose to have their windows open at 0,0 (meaning 0 pixels from the top, 0 pixels from the left). This works well for MDI Parent windows especially, since they often need to occupy most, if not all, of the screen to accommodate all of its child windows.

Solutions / Workarounds :

1) Set auto-hide on the taskbar to ON. With this enabled, you will be able to easily see all of your screen and move those windows from behind the taskbar area while the taskbar is hidden.

2) Often times right clicking the program on the taskbar and choosing "Move" or "Resize" will not work, though they are worth a try. However, clicking on the right bottom corner to "resize" the window will often move it down from behind the taskbar, as windows will not let you resize an item and have it end up behind the taskbar.

3) Why hasn't a programmer written some code to fix this? Just hooking the processes and checking their X,Y coordinates isnt tough, and re-setting them is also as painless with some API commands. I don't have the time right now; who's up for the challenge?