Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

minimizing dial based

I'm writing a dialog based app that I want to be able to minimize.
Any ideas?
If possible, I want it to start minimized as well.
0
zorker
Asked:
zorker
  • 2
1 Solution
 
zorkerAuthor Commented:
Edited text of question
0
 
trestanCommented:
You can add the option WS_MINIMIZEBOX to the property of your dialog window.
0
 
zorkerAuthor Commented:
Any ideas how to start minimized?

0
 
piano_boxerCommented:
Insert this line into OnInitDialog() (just before returning)

    ShowWindow(SW_SHOWMINIMIZED);

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now