N
Navneet
Hi,
I have a MDI application and I want to have only One
particular form to allow user to maximize say "MyMaxForm".
Now even if I disable the maximize button of all other
forms than after the user have maximised the "MyMaxForm"
and then he opens another form it opens maximised in MDI.
Therefore I do not want to display the maximise button
on "MyMaxForm" and want to draw my own button there so
that I can just resize the form with the clientsize and
the form's state will still be normal.Thus, any other form
if opened later will not open maximized.
Now If I subclass the form and implement the OnPaint
method I can draw a button but it will always draw it
under the title label of the form. I want to draw the
button next to the X (form close) button at the top.
Is there any way to do this. Or any other way I can
achieve my goal.
Thanks
Navneet
I have a MDI application and I want to have only One
particular form to allow user to maximize say "MyMaxForm".
Now even if I disable the maximize button of all other
forms than after the user have maximised the "MyMaxForm"
and then he opens another form it opens maximised in MDI.
Therefore I do not want to display the maximise button
on "MyMaxForm" and want to draw my own button there so
that I can just resize the form with the clientsize and
the form's state will still be normal.Thus, any other form
if opened later will not open maximized.
Now If I subclass the form and implement the OnPaint
method I can draw a button but it will always draw it
under the title label of the form. I want to draw the
button next to the X (form close) button at the top.
Is there any way to do this. Or any other way I can
achieve my goal.
Thanks
Navneet