Solved

Minimize Dialog App On Init

Posted on 2002-05-25
2
203 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
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.

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now