?
Solved

minimizing dial based

Posted on 1998-07-06
4
Medium Priority
?
197 Views
Last Modified: 2013-11-19
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
Comment
Question by:zorker
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:zorker
ID: 1318754
Edited text of question
0
 
LVL 8

Expert Comment

by:trestan
ID: 1318755
You can add the option WS_MINIMIZEBOX to the property of your dialog window.
0
 

Author Comment

by:zorker
ID: 1318756
Any ideas how to start minimized?

0
 
LVL 4

Accepted Solution

by:
piano_boxer earned 80 total points
ID: 1318757
Insert this line into OnInitDialog() (just before returning)

    ShowWindow(SW_SHOWMINIMIZED);

0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question