|
-
Jul 19th, 2001, 05:53 PM
#1
Thread Starter
PowerPoster
Adding two values!
I want to set my window's titlebar text to "the name of my program" and the opened file name:
Here are the variables:
char chosenfile[MAX_PATH];
That variable contains the name of the file opened.
Now I want to set the window's text to:
SetWindowText(hwnd, "Notepad" + chosenfile);
but that method does not work. What is the way to add two string and then set the text to that string?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|