Groups | Blog | Home
all groups > dotnet windows forms > july 2003 >

dotnet windows forms : How to handle System menu messages?


Jeremy Cowles
7/10/2003 3:57:28 PM
[quoted text, click to view]

You need to look up the sys command messages in the Platform SDK, you can
trap these messages by overriding the WndProc method of the MDI Form (and
child forms).

HTH,
Jeremy
Jeremy Cowles
7/10/2003 3:58:43 PM
[quoted text, click to view]

One more thing: once you override the WndProc method, you **MUST** call the
bass class WndProc (unless you want to consume a message), otherwise you
will have serious issues.

Call MyBase.WndProc( m )

Jeremy
Hemanshu Shah
7/10/2003 7:51:48 PM
I have a MDI Parent in which I display a dialog box. When user minimize the
dialog I want the whole MDI window to be minimized.

Your help greatly apreciated.

Thanks,
Hemanshu

AddThis Social Bookmark Button