Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimize

Status
Not open for further replies.

drfb

Programmer
Jul 5, 2002
23
Dear All,
I would like to know if it's possible to deactivate the function with which is possible to minimize a form.
I have tried with borderstyle=bsnone but it's always possible, clicking the right button of the mouse to minimize the form.
someone can help me?
Thank you very much for all your help,
Franz
 
What version of C Builder do you have? 6.0 has an object that lets you build a handler for OnMinimize, I think...but I don't know if it will let you stop it completely. Otherwise, you'll have to catch the system message WS_MINIMIZE and ignore the default call (if that works).

What you REALLY want to do is get the Minimize feature disabled in the taskbar. I have no idea on that though.

Chris
 
Dear Chris,
thank you very much for your email.
I'm using 5.0 version of C builder. I'm sorry for my english but I'll try to explain better my problem to you.
I have realized a program and I would like that when it's on is impossible to close or minimize it.
Do you have some idea?
Thank you, thank you, thank you again.....for your help
Franz.
 
You could also catch the Application::OnMinimize and avoid it that way, i haven't done anything to test it but it should me possible to restore on each minimize.

Totte
 
Thank you very much.
Now it works!!!!!!!!!
Franz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top