Add button to ControlBox -- How??

M

Mrozu

Hi

I need to add to my form ControlBox(this three buttons in right top
corner), one button with "."(dot), which will minimize my App to
SysTray. This button I sow e.g. in eMule;) How I can do that??


Thx Mrozu
 
T

tomb

Mrozu said:
Hi

I need to add to my form ControlBox(this three buttons in right top
corner), one button with "."(dot), which will minimize my App to
SysTray. This button I sow e.g. in eMule;) How I can do that??


Thx Mrozu
eMule is written in C++, it is easier to do all sorts of things that
way. However, you can change the actions of the x button to hide the
program and show it in the system tray instead of actually closing the
program. I believe that's what McAfee does.

Tom
 
G

Guest

That's actually a pretty good suggestion. We should be able to put in as many
boxes we want next to Max, Min and X. As far as I know (I'll check when I get
back to my VB stuff) the only way to do this is manipulate the window through
APIs.

Randy
 
M

Mrozu

Thx ;):)
So that problem is solved. I have another question:
How I can disable Controlbox(ControlBox=false), but don't hide icon in
left top corner?? When I Hide ControlBox, icon is hide too...


Mrozu
 
A

Armin Zingler

Mrozu said:
Thx ;):)
So that problem is solved. I have another question:
How I can disable Controlbox(ControlBox=false), but don't hide icon
in left top corner?? When I Hide ControlBox, icon is hide too...


The icon *is* the control box. :)


Armin
 
M

Mrozu

Wow;D:D Nice

So how i can hide this three f****n buttons(in right, top corner),
without hide ControlBox?? Don't tell me that it is impossible;P

Thx Mrozu
 
A

Armin Zingler

Mrozu said:
Wow;D:D Nice

So how i can hide this three f****n buttons(in right, top corner),
without hide ControlBox?? Don't tell me that it is impossible;P


As you don't want these buttons, you don't want that the user can close,
maximize or minimize the Form. As you don't want him to do this, you don't
need a controlbox. But this question is different from the one before.


Armin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top