Solved

Hiding vc++ 5.0 executables

Posted on 1999-01-19
4
247 Views
Last Modified: 2010-04-02
How do I hide a program in vc++ 5.0 from showing up in the task list or taskbar? I need the program to hide itself when it first starts.
0
Comment
Question by:naallen
[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
4 Comments
 
LVL 10

Expert Comment

by:viktornet
ID: 1184559
Create a window that should have a dialog style and it will not show up in the task bar,,,
0
 
LVL 22

Accepted Solution

by:
nietod earned 10 total points
ID: 1184560
The only way to remove it from the task manager's list is to make it a service.  Look up "Services Overview"  or "Service Control Manager" in VC.  Note that Windows 95/98 have a different way of handling services than windows NT.  This makes this a bit awkward to do.
0
 
LVL 1

Expert Comment

by:shrif
ID: 1184561
nietod, are you sure about that?  Under Windows NT, if you look at the second tab of the task manager, you'll see services as well as normal executables.  If you look at the first tab, you only see the items that are on your task bar.  The things that are on your task bar are all top-level (non-popup) windows that are visible.  And if you're crazy enough to be running Program Manager instead of Explorer, you'll see this same list in the "task list".

Now, the list in the task bar are obviously not tasks.  One task, such as Navigator or Outlook can have multiple entries in the task bar.  And other programs don't have windows in the task bar at all.  I believe the person asking this question is asking about this second type program.

Seems to me that if you don't want your window to show in the Windows task bar, then don't create a top level window, or make your top level window hidden.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1184562
Appears to be true.  It does hide them under windows 95 though, so it seems that registering as a service is at least a step in the right direction.  I don't think you can do much better.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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
Create a path if not exists 7 126
Android development question 2 110
How do I get Window Title of all opened process? 4 61
using interface in TLB 3 31
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…
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…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

751 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