开发者

Delete standard icon in windows form

开发者_StackOverflow社区how to just delete that windows form application icon in the left corner without replacing it with another icon?


I assume that you're using .Net WinForms.

Set the form's ShowIcon property to false.


If it is .NET (Winforms) the form should have a ShowIcon property. Set this to false.


in case you're using C++

HWND hWnd;  // = WindowHandle()
::SetWindowLong(hWnd, GWL_EXSTYLE, 
                ::GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_DLGMODALFRAME);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜