NO

Author Topic: How to chang caption text in code?  (Read 2515 times)

kahtan

  • Guest
How to chang caption text in code?
« on: March 15, 2011, 01:00:01 AM »
Hi all,
please how to change caption text in code ?

MichaelT

  • Guest
Re: How to chang caption text in code?
« Reply #1 on: March 15, 2011, 12:29:36 PM »
You need to be much more specific than that.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: How to chang caption text in code?
« Reply #2 on: March 15, 2011, 02:59:54 PM »

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

Windows Console app:
   SetConsoleTitle("Text");
May the source be with you

kahtan

  • Guest
Re: How to chang caption text in code?
« Reply #3 on: March 15, 2011, 10:23:50 PM »

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

Windows Console app:
   SetConsoleTitle("Text");


Thank you for help it works