[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Dialog Caption

Posted on 2004-08-25
3
Medium Priority
?
467 Views
Last Modified: 2012-06-27
How do I set the title of a dialog window programmatically?

I'm creating a win32 app (no mfc) using MSVS 6.0

The dialog itself was included as a resource, but I need to change the

title of the dialog based on the value of a certain flag.

I'm sure there is an easy solution, but for the life of me I can't find it.

-CPOsosky







0
Comment
Question by:CPOsosky
[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
3 Comments
 
LVL 13

Accepted Solution

by:
SteH earned 200 total points
ID: 11892815
Have you tried SetWindowText ("Tilte 1")?
0
 

Author Comment

by:CPOsosky
ID: 11892971
OK. That was way too easy. Now I feel like an idiot.

Thanks!

-Chris
0
 
LVL 13

Expert Comment

by:SteH
ID: 11893000
Very question has an easy answer if one knows it. An idiot would be someone not asking the question because the answer could be to easy.
0

Featured Post

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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 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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
Suggested Courses

650 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