?
Solved

Console Application Title Bar

Posted on 2004-08-27
2
Medium Priority
?
303 Views
Last Modified: 2008-03-06
Hello all,

How do I set the text of a title bar in a C++  Console Application?  As usual, any and all help is greatly appreciated!

Regards,
Tony
0
Comment
Question by:fattumsdad
[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
2 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 11917566
You just call 'SetConsoleTitle()', e.g.

SetConsoleTitle ( "Hey, I am your console app");
0
 
LVL 86

Accepted Solution

by:
jkr earned 400 total points
ID: 11917575
BTW, see http://msdn.microsoft.com/library/en-us/dllproc/base/setconsoletitle.asp ("SetConsoleTitle(LPCTSTR) function [Base]")
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

770 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