.:: example_1.asm - Draw_StdWindow, StdHandler, WaitMessage ::.
format PE
include "include\win32ax.inc"
include "..\include\const.inc"
x_size = 340
y_size = 150
x_coord = 100
y_coord = 100
start:
call Redraw
Wait_Event:
call [ WaitMessage]
call [ StdHandler]
jmp Wait_Event
Redraw:
invoke Draw_StdWindow, x_coord* 65536+y_coord,x_size* 65536+y_size, "Hello World!", 00101b
ret
data import
;
; Import functions:
;
library mx32, 'mx32.dll'
import mx32,\
WaitMessage, 'WaitMessage',\
Draw_StdWindow, 'Draw_StdWindow',\
StdHandler, 'StdHandler'
end data
|