quote:
Originally posted by ahmetgns
So, when we maximize tabbed chats window, that hidden window is maximized at the background and Restore option of right click menu is activated, right?
No, the hidden window controls the tabbed chat windows, true. But the hidden Plus! window itself is not maximized nor minimized.
The hidden window attributes themselfs are not changed. Though the size parameters are changed. Although one of the attributes also states to ignore them. Why the position and size parameters are changed while the ignore flag is always used I dunno, but this could have something todo with it.
Also, the currently visible tabbed chat window itself is set with an attribute WS_MAXIMIZE (but the other tabbed chat windows are not) when maximizing Messenger's chat window. This triggers the restore menu on its turn when the user presses the hidden Plus! window's taskbar button.
When you minimize a Messenger chat window, WS_MINIMIZE for the current visible tabbed chat is never set like that. The currently visible tabbed chat window is simply disabled instead (WS_DISABLE). Thus the restore item is not shown as a result.