TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Edwin Groothuis
from: Rinat Sadretdinow
date: 1996-03-05 10:45:44
subject: Changing title

Hello Edwin!

Wednesday February 28 1996 22:14, Edwin Groothuis wrote to Rinat Sadretdinow:

 EG> sorry if this is not what you were looking for:

 EG> hwndTitlebar=WinWindowFromID(hwndFrame,FID_TITLEBAR);
 EG> WinSetWindowText(hwndTitlebar,"Trojka (focus lost)");

No, this is not I was looking for. And it was not me, anyway :-) The problem is
that WinSetWindowText requires hwnd and may not be used in text mode apps. But
WinSetTitle does not require handle to window. So it is not restricted to be
called from PM applications only.

Bye!
Rinat Sadretdinow                                              [Team OS/2]

--- GoldED/2 2.50.A0715 UNREG
* Origin: -= Thunder Bird =- +7 095 947 1209 10:00pm-08:00am (2:5020/620)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 5020/620 509 35 400 464/200 31 72 34 5100/8 396/1 270/101 712/515
@PATH: 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.