Solved

Minimize Dialog App On Init

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I could not build boost code, 10 106
gdb doesn't stop on breakpoint 2 113
What is sub-make ? 2 87
FMX TEdit KeyUp handler detecting  "enter" key 4 36
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…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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 technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

740 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