stuartgillibrand.co.uk
Tuesday, February 19, 2013
Create a windows form initially hidden
I've recently had the need to create a hidden windows .NET form (from creation) and found numerous suggestions, however the most simple and elegant way seems to be:
this->ShowInTaskbar = false; this->WindowState = System::Windows::Forms::FormWindowState::Minimized
.. before you create the window/message pump with Application::Run().
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)