Click to See Complete Forum and Search --> : Disable VB MDI form maximize button


Tummala
November 30th, 1999, 07:34 AM
Hi,
How can I disable the MDI maximize button in Visual Basic 6.0.

Chris Eastwood
November 30th, 1999, 07:50 AM
Take a look at the code on this site at

http://codeguru.developer.com/vb/articles/1800.shtml

- there's also an example in the comments of how to disable the maximize button.


Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb

Tummala
November 30th, 1999, 08:16 AM
I want to disable the MDI resize button not the
ordinary form.

Chris Eastwood
November 30th, 1999, 08:21 AM
That's right - you can use the same code to disable or remove the menu items from *any* forms system menu. Read through the code and try to get a grasp of how it works.


Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb