Gerrans wrote: I'm not clear on how you can change the CreateParams of the app's main form, since it is a protected member of the Control class, which is a few bases up the hierarchy from the Form class. By extending the Form class with your own class, then override the CreateParams. If you want to just change a style, you typically get the base.CreateParams, modify, and return it; but in your case you're changing the class name - a pretty big change. Construct your CreateParams, change the styles and class name, etc., then return it. Gerrans wrote: I didn't know (or expect) that it had that MainWindowHandle property You should browse through the Class Library documentation in the .NET Framework SDK. It's not like you have to memorize everything, but you should recognize a naming pattern that Microsoft sticks to about 98% of the time (according to FxCop). That makes it easy to find what you need, especially if you have some idea of what to look for.
Microsoft MVP, Visual C# My Articles