Solved

Minimize Dialog App On Init

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

747 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

10 Experts available now in Live!

Get 1:1 Help Now