TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Doug Nazar
from: Phil Crown
date: 1996-08-30 12:43:50
subject: Window Title

-=> Quoting Doug Nazar to Bart Van Rillaer <=-

 DN> Hello Bart!

 DN> Saturday August 24 1996 19:23, Bart Van Rillaer wrote to All:
 
 BR> How can I change the name of a window in Borland C++ for OS/2 ? One of the
 BR> previous examples doesn't work published in this area doesn't work...

 DN> Not sure if there is an actual API call for it but the way I would do
 DN> it would be to query the SwitchList until an entry was found matching
 DN> our SID, then use the frame HWND with WinSetWindowText(). 
 DN> Doug

I believe he meant from a Vio app.

I tried the example posted, WinSetTitle() a 16-bit API, and it crashed my
program too, using BCOS2.

Phil
pcrown{at}airmail.net
http://web2.airmail.net/pcrown/index.html


--- Blue Wave/OS2 v2.30
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 214-250-4479 * (1:124/1208)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 124/1208 1 396/1 270/101 712/515 711/808 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™.