SETBUTTONRGN |
Top Previous Next |
Syntax SETBUTTONRGN(win as window,id as int,hrgn as UINT) Description .Sets the display region used by a button of type @RGNBUTTON Parameters win - WINDOW or DIALOG parent of control id - Controls identifier hrgn - Handle to a region created by RGNFROMBITMAP. Return value None Remarks The region passed to this command becomes the property of the control. No further action should be done with the regions handle. If you wish to share a region between multiple control used the COPYRGN command. Example usage hrgn = RGNFROMBITMAP(GETSTARTPATH+"rgn_bmp1.bmp") |