473,385 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

MDI Child

Hi,

I have a MDI Child and I want the user NOT to be able to resize or
restore. I have set the maximum, minimum and controlbox to false, form
border to single but I am still having the restore and minimize buttons.
Is it possible to hide it or disable it using API or anyother solution?
Many Thanks,
Jassim Rahma

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #1
3 1774
Hi there... Try setting the FormBorderStyle to either FixedSingle or
FixedDialog (I suggest the first one), MinimizeBox set it to false,
MaximizeBox set it to false.

Regards,
--
Angel J. Hernández M.
MCP - MCAD - MCSD - MCDBA
http://groups.msn.com/desarrolladoresmiranda
http://www.consein.com
"Jassim Rahma" <jr****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,

I have a MDI Child and I want the user NOT to be able to resize or
restore. I have set the maximum, minimum and controlbox to false, form
border to single but I am still having the restore and minimize buttons.
Is it possible to hide it or disable it using API or anyother solution?
Many Thanks,
Jassim Rahma

*** Sent via Developersdex http://www.developersdex.com ***

Nov 17 '05 #2
I did that but when maxmimizing, he user will be able to restore and
minimize because if i set the window state to Maimimam the controlBox,
Max & Min buttons will be visible.

Many Thanks,
Jassim Rahma

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #3
Jassim,

You can set the MinimumSize and MaximumSize properties to the same value,
and use the following 'bug fix':

http://support.microsoft.com/default...b;en-us;327824

I've found useful several times the following FAQ:

http://msdn.microsoft.com/smartclien...q/default.aspx

Regards - Octavio

"Jassim Rahma" <jr****@hotmail.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,

I have a MDI Child and I want the user NOT to be able to resize or
restore. I have set the maximum, minimum and controlbox to false, form
border to single but I am still having the restore and minimize buttons.
Is it possible to hide it or disable it using API or anyother solution?
Many Thanks,
Jassim Rahma

*** Sent via Developersdex http://www.developersdex.com ***

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: DavidS | last post by:
Have parent.aspx from which I open Driver.aspx form via button on parent.aspx. When I first open the modal dialog, the driver.aspx Page_Load function is called. After I close the dialog, then...
10
by: Charles Law | last post by:
For some reason, when I click the X to close my MDI parent form, the action appears to be re-directed to one of the MDI child forms, and the parent remains open. I am then unable to close the...
4
by: Richard Lewis Haggard | last post by:
What is the mechanism by which a child window can notify its parent that it has been clicked on? -- Richard Lewis Haggard www.Haggard-And-Associates.com
12
by: Phil | last post by:
I can check for MdiChildren.Length=0, but which event handler should I put this in to detect when a child window is closed? TIA Phil.
4
by: jewel87 | last post by:
Hi everyone! I'm writing some code in C under UNIX, which should give some output like this: PARENT: pid = 10063 CHILD: my pid = 10064 CHILD: my parent's pid = 10063 CHILD: Sleeping... PARENT:...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.