🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9847

Re: A Window's Caption

#9847
From: Steve Aletto
Date: Fri, 11 Jun 2004 07:23
8 lines
1116 bytes
> Given the Handle of a window, how can I change it's caption?

BOOL SetWindowText(
  HWND hWnd,         // handle to window or control
  LPCTSTR lpString   // title or text
);

Steve.
Technical Details
Message-ID: <40c95e3d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40c943f6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,71cb09f077662189
X-Google-Attributes: gid10cc67,public
Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40c943f6$1@newsgroups.borland.com>
Subject: Re: A Window's Caption
Date: Fri, 11 Jun 2004 09:23:51 +0200
Lines: 10
Organization: Steve Aletto
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 81.208.124.114
Message-ID: <40c95e3d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1086938685 81.208.124.114 (11 Jun 2004 00:24:45 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail