Solved

Console Application Title Bar

Posted on 2004-08-27
2
293 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
  • 2
2 Comments
 
LVL 86

Expert Comment

by:jkr
Comment Utility
You just call 'SetConsoleTitle()', e.g.

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

Accepted Solution

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

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now