Solved

Minimize Dialog App On Init

Posted on 2002-05-25
2
205 Views
Last Modified: 2010-05-18
Hello,
I have a Win32/MFC Dialog App (MSVC++6). I want it to start minimized (SW_HIDE). I have a taskbar icon that can be used to show it when needed. The approaches i've tried either don't work or the main dialog flashes on the screen before it disappears. What is the best way to do this?
0
Comment
Question by:axia
2 Comments
 
LVL 49

Accepted Solution

by:
DanRollins earned 50 total points
ID: 7034171
This turns out to be rather tricky.  It is covered here:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=mfc&qid=20059930

Note that it will cost you 20 points to read that answer.  Sorry.  But the information is available nowhere else -- it took me hours to work it out.

-- Dan
0
 

Author Comment

by:axia
ID: 7034188
that works great
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

778 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