Windowless MFC

Posted on 1999-10-25
Medium Priority
Last Modified: 2008-02-26
I am written a number of MFC class
based programs using VC++ app wizard.

I made these programs dialog based.

Now my customer does not want any
windows available to the operators.
Busy fingers and all that.  

How do I generate an MFC application
without using any windows.....and not
loosing access to Windows events...etc.

Question by:jitell
  • 2
LVL 32

Accepted Solution

jhance earned 150 total points
ID: 2156551
Do this:


And none of the windows will be visible.

Author Comment

ID: 2158546
The ShowWindow function was the answer.

Thank you
LVL 32

Expert Comment

ID: 2158559
SW_SHOWMINIMIZED still leaves the icon for the app in the taskbar.  SW_HIDE, hides it entirely.  Depends on what you want...

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.

600 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