[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Minimize Dialog App On Init

Posted on 2002-05-25
2
Medium Priority
?
212 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 200 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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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 learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses

591 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