Jump to content

WinSetTitle.c - Example code: Difference between revisions

From EDM2
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..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<code>
<PRE>
#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 ( ) ;
}
 
 
</PRE>
 


[[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();
}