TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: hugo landsman
from: Francisco Sedano
date: 1996-02-13 02:05:14
subject: Changing title

Hello hugo!

Wednesday February 07 1996 01:04, hugo landsman wrote to Francisco Sedano:

 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.

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

I can't find any API called WinSetTitle. However, a post from Rex Conn
solved me - partially - the problem.


Francisco

--- GoldED/2 2.50.Beta6+
* Origin: ** MainDoor Development ** (2:341/20)
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: 341/20 70 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™.