taskbar placement
Had a bit of a hack with this today and found out the magic bits in StuckRects2.
It's all to do with the 13th byte of the Settings BINARY value:
The 13th byte entries are as follows:
00=left
01=top
02=right
03=bottom
I have tested this by manually placing the taskbar on the left and then cycling
thru the sequence:
a. use taskmgr to kill explorer
b. edit the Settings value in the registry to move the taskbar clockwise
(ie increment by 1)
c. run explorer form a cmd window to see the taskbar's new position
Although it is quite clever that the other bytes of StuckRects2 update according
to the 2 placement bits (value=0..3 as above) in byte 13, it's so naff that this
is how you have to automate taskbar placement, jeez M$, what's wrong with a
command like:
taskbar -placement [left | top | right | bottom]
|