TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Francisco Sedano
from: hugo landsman
date: 1996-02-07 01:04:00
subject: Changing title

hi Francisco,

 FS> Anybody knows how to change the program's window title (and taskbar
 FS> string) from within a OS/2 VIO application? I've not been able to
 FS> find any info on that subject.

You call WinSetTitle just as usual.  As the HAB isn't used (yet), you can
pass 0 in that position.  One concern you might want to address though, is
the usabilty of such a program for TSHELL users: add dummy DLLs to resolve
such references with dummy functions just returning success.  OS/2 only
loads DLLs it hadn't loaded already, so your PMShell users won't notice. 
(Their might be other ways to resolve such a problem, but when I was
looking for one, I bumped my nose on the undocumented SessionManager
stuff).

regards,
         hugo
* Origin: huug{at}telebyte.nl (2:283/608.5)
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: 283/608 2801/201 28/777 2/777 396/1 270/101 712/515 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™.