Excellent work ! One issue though - when you select the Message->Pop menu item, the little window pops up but the main window loses focus. I'm writing an Instant Messenger program and tried your code out there - same thing happens.
From the point of view of a Messenger application, this issue is pretty serious because if the task bar window pops up while you are typing in a different window, the characters you typed are lost because the window loses focus for the duration of the task bar window's existence.
So how do you get it to not make the topmost window lose focus when the task bar window pops up ? I tried to change the &wndTopMost to some other value in the SetWindowPos () function calls, but that doesnt seem to work.
Also observed that once your task bar window has been instantiated, you can then manually click on another window and continue typing, and the task bar window will continue its expanding and contracting as normal.