TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Haavard Mork
from: Rinat Sadretdinow
date: 1996-08-11 18:32:38
subject: Problem ORDNER/WPS

Hello Haavard!

Friday August 09 1996 21:23, Haavard Mork wrote to Peter Fitzsimmons:

 >> This echo is not limited to English.

 HM> Isn't it? I thought it was english-only for all of the fidonet's
 HM> conferences..

It seems to me now I can freely write in Russian here 

 HM> E: Anybody who knows how to change the session-title on a FullScreen
 HM> VIO program ?  (which api-call I should use).

I compile this chunk of code using Watcom C 10.5a, but hope CSet, VACPP,
EMX, etc. won't get any problem "eating" this stuff.

-------------------------------8<------------------------------------
#include 
#include 
#include 

/*
 * NOTE: this is *NOT* true Win function, unlike WinXxxxXxxx
 * it returns 0 if Ok, errorcode otherwise
 */
USHORT PASCAL16 Win16SetTitle(PCH szTitle);

static CHAR szNewTitle[] = "This is a new title";

void main(void)
{
    printf("hit any key to set program's title to
\"%s\"\n", szNewTitle);
    getch();

    if (!Win16SetTitle(szNewTitle))
    {
        printf("now program has new title, hit any key to exit\n");
        getch();
    }
    else
        printf("unable to set title\n");
}
-------------------------------8<------------------------------------

Bye!
Rinat Sadretdinow                                              [Team OS/2]

---
* Origin: -= Thunder Bird =- +7 095 947 1209 10:00pm-08:00am (2:5020/620)
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: 5020/620 509 35 443 79 5100/8 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™.