开发者

Adding items to the Windows control box

开发者 https://www.devze.com 2022-12-27 03:25 出处:网络
Is there anyway to add an item to the control box (wheres the close开发者_开发知识库, minimize and maximize buttons are) with my custom icon in C#?

Is there anyway to add an item to the control box (wheres the close开发者_开发知识库, minimize and maximize buttons are) with my custom icon in C#?

Thanks.


Looks like drawing the button yourself with the Win32 API is the only way.

http://www.dotnet247.com/247reference/msgs/41/207281.aspx

http://groups.google.com/group/microsoft.public.dotnet.framework.drawing/browse_thread/thread/7b8e66d3803d8c7?hl=en&lr&ie=UTF-8&oe=UTF-8&rnum=3&pli=1

http://www.developmentnow.com/g/36_2003_11_0_0_202324/Adding-buttons-to-the-forms-title-bar.htm

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号