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);
精彩评论