Pelles C forum

C language => Beginner questions => Topic started by: kahtan on March 15, 2011, 01:00:01 AM

Title: How to chang caption text in code?
Post by: kahtan on March 15, 2011, 01:00:01 AM
Hi all,
please how to change caption text in code ?
Title: Re: How to chang caption text in code?
Post by: MichaelT on March 15, 2011, 12:29:36 PM
You need to be much more specific than that.
Title: Re: How to chang caption text in code?
Post by: TimoVJL on March 15, 2011, 02:59:54 PM

Windows GUI:
   SetWindowText(hWnd, "Text");

Windows Console app:
   SetConsoleTitle("Text");
Title: Re: How to chang caption text in code?
Post by: kahtan on March 15, 2011, 10:23:50 PM
Quote from: timovjl on March 15, 2011, 02:59:54 PM

Windows GUI:
   SetWindowText(hWnd, "Text");

Windows Console app:
   SetConsoleTitle("Text");


Thank you for help it works