WinSetTitle.c - Example code: Difference between revisions
Appearance
Created page with " <PRE> #define INCL_BASE #include <os2.h> #include <conio.h> APIRET16 APIENTRY16 WinSetTitle ( PSZ szTitle ) ; void main ( void ) { WinSetTitle ( "Test of WinSetTitle..." |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<code> | |||
< | #define INCL_BASE | ||
#include <os2.h> | |||
#include <conio.h> | |||
#define INCL_BASE | |||
#include <os2.h> | APIRET16 APIENTRY16 WinSetTitle (PSZ szTitle); | ||
#include <conio.h> | void main(void) { | ||
APIRET16 APIENTRY16 WinSetTitle ( PSZ szTitle ) ; | WinSetTitle("Test of WinSetTitle"); | ||
getch(); | |||
void main ( void ) { | } | ||
</code> | |||
WinSetTitle ( "Test of WinSetTitle" ) ; | |||
getch ( ) ; | |||
} | |||
</ | |||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Latest revision as of 12:45, 15 July 2018
#define INCL_BASE
#include <os2.h>
#include <conio.h>
APIRET16 APIENTRY16 WinSetTitle (PSZ szTitle);
void main(void) {
WinSetTitle("Test of WinSetTitle");
getch();
}