Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom control box button

Some Windows applications add buttons to the control box, which apparently is the name for the group of minimize, maximize, and close buttons. One such application is Skype, which has a button for switching from a one-window-that-contains-everything mode to a one-window-per-conversation mode and vice versa:

Skype's custom control box button

I'd like to know how you can do this. I've looked around and can't figure out how. I assume it would require P/Invoke and the Windows API, but I'm not sure what function I'd use.

like image 779
icktoofay Avatar asked Mar 06 '10 04:03

icktoofay


1 Answers

I think one of these might be what you're looking for:

http://www.codeproject.com/kb/vb/transmenuandtitlebuttons.aspx

http://www.codeproject.com/kb/cs/mintraybtn.aspx

like image 147
AaronLS Avatar answered Sep 20 '22 11:09

AaronLS