Exforsys

Online Training

How to hide the command prompt window.

This is a discussion on How to hide the command prompt window. within the C and C++ forums, part of the Programming Talk category; Is there any way of hiding the command prompt window when run code in C++ that needs no input from ...


Go Back   Exforsys > Programming Talk > C and C++

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-22-2006, 01:02 AM
Junior Member
 
Join Date: Jan 2006
Posts: 8
Praveen Chandra is on a distinguished road
How to hide the command prompt window.

Is there any way of hiding the command prompt window when run code in C++ that needs no input from the reader?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-23-2006, 03:53 PM
Senior Member
 
Join Date: Apr 2006
Posts: 153
cyrus is on a distinguished road
You can use the functions:
FindWindow and ShowWindow to achieve this

For instance you can take the following tip for achieving your result:
variable_name=FindWindow("class name", NULL);

If the function fails the return value is NULL.
ShowWindow(variable_name,0);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
QTP- Is it possible to read certain text from window... qtptester Software Testing 0 08-29-2006 09:21 AM
to get the ctrls side by side in asp.net design window and in asp.net 2.0 security bhanumurthybvn@gmail.com C Sharp 0 06-06-2006 11:06 AM
Open Link in new window fevenz Suggestions & Feedback 2 05-07-2004 10:37 AM
Motif FAQ (Part 4 of 9) Ken Lee Tech FAQ 0 04-18-2004 09:54 AM
Smalltalk FAQ (v.1.0) Vikas Malik Tech FAQ 0 04-17-2004 08:27 AM


All times are GMT -4. The time now is 01:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.