Would like to add a figure in an application as shown below. This user then automatically sees the definition of the variables. Do I have to compile the figure as a resource to make it 'part' of the program. Which ClearWin function would be the best to use?
[URL=http://imageshack.us/photo/my-images/545/18s.png/]
[/URL]
WINAPP
INTEGER i,winio@
i=winio@('%ca[A beautiful bitmap]&')
i=winio@('%bm[mybitmap]%2nl%cn%`bt[OK]')
END
RESOURCES
mybitmap BITMAP c:\\bitmaps\\pic1.bmp
or
WINAPP
INTEGER winio@,i
i=winio@('%ca[Image bar]%sy[3d]&')
i=winio@('%bd&',0.0D0,0.0D0,0.5D0,1.0D0)
i=winio@('%mn[File[Exit]]&','EXIT')
i=winio@('%3ib[flat]','cut/Cut',4,'CONTINUE',
+ 'copy/Copy',4,'CONTINUE', 'paste/Paste',4,'CONTINUE')
END
RESOURCES
cut BITMAP cut.bmp
copy BITMAP copy.bmp
paste BITMAP paste.bmp
[/URL]