Hi, I try to find more information on imagex, according the online manual,
CONTROL SET IMAGEX hDlg, id&, newimage$
after you use
CONTROL ADD IMAGEX, hDlg, id&, image$, x, y, xx, yy [, [style&] [, [exstyle&]]] [[,] CALL callback]
I read about bitmap and icon select.
%SS_BITMAP
Display only bitmap images. Also see %SS_ICON. (persistent)
%SS_ICON
Display only icon images. Also see %SS_ICON. (persistent)
((or you may choose not to specify the image format at all.))
I got wrong that suggest it support other format.
-------------------------------------
Now I'm lost
The only explanation is load bitmap
I can't see the joint but if I ask bmp that the only thing show.
( I try gif or jpeg in the PB forum and FF forum with no real result )
nFile& = FREEFILE
OPEN "myimage.bmp" FOR BINARY AS nFile&
GET #nFile&, 19, nWidth&
GET #nFile&, 23, nHeight&
CLOSE nFile&
The real question I can"t find no demo or source or documentation.
IF PB support (gif,tiff,jpeg,png or gig animated) seem only bmp.
The EZGUI seem more advence in documentation said support gif
with no documentation.
In real basic the image is very close to html form like src img.
we load the file to define windows like control add imagex.
If you find some info how load and use imagex with format file support.
one more question.
many programmer use this variable ( lRslt ) What is the real definition.
Thanks
CONTROL SET IMAGEX hDlg, id&, newimage$
after you use
CONTROL ADD IMAGEX, hDlg, id&, image$, x, y, xx, yy [, [style&] [, [exstyle&]]] [[,] CALL callback]
I read about bitmap and icon select.
%SS_BITMAP
Display only bitmap images. Also see %SS_ICON. (persistent)
%SS_ICON
Display only icon images. Also see %SS_ICON. (persistent)
((or you may choose not to specify the image format at all.))
I got wrong that suggest it support other format.
-------------------------------------
Now I'm lost

The only explanation is load bitmap
I can't see the joint but if I ask bmp that the only thing show.
( I try gif or jpeg in the PB forum and FF forum with no real result )
nFile& = FREEFILE
OPEN "myimage.bmp" FOR BINARY AS nFile&
GET #nFile&, 19, nWidth&
GET #nFile&, 23, nHeight&
CLOSE nFile&
The real question I can"t find no demo or source or documentation.
IF PB support (gif,tiff,jpeg,png or gig animated) seem only bmp.
The EZGUI seem more advence in documentation said support gif
with no documentation.
In real basic the image is very close to html form like src img.
we load the file to define windows like control add imagex.
If you find some info how load and use imagex with format file support.
one more question.
many programmer use this variable ( lRslt ) What is the real definition.
Thanks

Comment