Magic-windows Ver 1.1 is now available for download.
Here is a detail of all new functions available in that new release :
MW_Empty_Box(Window,x1,y1,x2,y2) :
That function draw an empty box inside a window.
Window = window where the draw must be done.
X1,y1 = top left corner coordinate.
X2,y2 = bottom right corner coordinate.
Success = MW_File_Selector_v2(window,_loaderpath$,filter1$,filter2$) :
That function create a file selector.
Window = number of the window that’ll handle the file selector.
_loaderpath$ = default path
_filter1$ , _filter2$ = files filters
Success = 1 if a file was choosen otherwise = 0
Fichier$ = MW_Get_FileName() :
That function send back the choosen file name from file-selector.
Drawer$ = MW_Get_DrawerName() :
That function send back the full drawer path whee file selector choosen file’s is located
MW_Set_Alternate_Gadget_Image(Window,Gadget,Image) :
That function allow the user to define alternate images for graphic gadgets.
Alternate image will be displayed when mouse cursor overlap the graphic icon.
Window = Window that contain the gadget.
Gadget = gadget to define.
Image = alternate image number.
MW_AutoClearMode_On() :
Turn on auto CLS mode for MW_Sync(BITMAP)
MW_AutoClearMode_Off() :
Turn on auto CLS mode for MW_Sync(BITMAP) ( = Default value )
MW_BackgroundRefreshMode_On :
Turn on Background refresh mode .
( slow but allow to refresh 2D under Magic Windows Window’s )
MW_BackgroundRefreshMode_Off() :
Turn off Background refresh mode ( = Default value )
Result = MW_Window_Position_X() :
Send back the X coordinate of the mouse pointer inside current overlaped window.
Result = MW_Window_Position_Y() :
Send back the y coordinate of the mouse pointer inside current overlaped window.