Change the Borderstyle on the form in question to one of:
4 - Fixed ToolWindow
5 - Sizable ToolWindows
As an alternative (havent tried this but think it should still work) - create a transparent icon file with nothing in it and associate this as the icon on the form ...
I preface by saying I genuinely appreciate PS42's contributions however the are in a sense "work arounds" which, while coming close, don't achieve the appearance I am looking for.
I'm confident because I've seen the form presentation before.
Sure, the presentation you've seen before is described in Microsoft's 'Official Guidelines for User Interface Developers and Designers' - it is what they describe as a 'secondary' window. But secondary windows theoretically have certain limitations. The settings you can make in VB reflect the legal (in the sense that they adhere to the guidelines) options.
Just eliminating the System menu icon (i.e the form icon) requires disabling the system menu (or eliminatin all the menu entries). Either way, the rest of the Windows title furniture is affected - specifically the close X will be eliminated
You'll probably have to resort to an ownerdraw control to achieve what you want ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.