On Mon, 26 Jan 2004 16:56:59 +0800, you wrote:
Hello,
I didn't break this patch into smaller parts. I think the changes are self explaining enough and quite straightforward.
This patch fixes a bug with MDI menus reported by Duane Clark and a couple of other minor problems I found while debugging that issue (a not working system menu in a maximized child is a more noticeable one).
Please apply this patch after the WM_MDISETMENU/WM_MDIREFRESHMENU fix for Visio.
Dmitry,
After applying the two patches there is a new problem (with Agent 2.0 beta).
I'm using it with maximized mdi windows. If I open another window, it opens maximized (as it should). Now if I return to the original window, either by closing the current one (with the X button, or <ctrl>-F4) or selecting it (<ctrl>-TAB or the Window-menu using <alt>-W,1) the size of the original window is now <restored> and needs to be maximized again.
Any idea?
Rein.
"Rein Klazes" rklazes@xs4all.nl wrote:
Dmitry,
After applying the two patches there is a new problem (with Agent 2.0 beta).
I'm using it with maximized mdi windows. If I open another window, it opens maximized (as it should). Now if I return to the original window, either by closing the current one (with the X button, or <ctrl>-F4) or selecting it (<ctrl>-TAB or the Window-menu using <alt>-W,1) the size of the original window is now <restored> and needs to be maximized again.
Any idea?
Looks like MDI code has too much hacks for child activation and switching between children. There are places when activation messages are sent manually instead of relying on (de)activation done by the system. That code needs a major clean up and an overhaul.
I've added that into my task list and when I have a break from more important work I'll have a look at it. Feel free to beat me with that.