Query the icon for region output
::get_icon queries the icon that was set with ::set_icon.
|
Icon (output_object) |
region -> Hobject * : HRegion |
| Icon for the regions center of gravity. | |
|
WindowHandle (input_control) |
window -> HTuple.long |
| Window_id. | |
/* draw a region and an icon. */ /* set it and get it again. */ draw_region(&Region,WindowHandle) ; draw_region(&Icon,WindowHandle) ; set_icon(Icon) ; set_shape(WindowHandle,"icon") ; disp_region(Region,WindowHandle) ; get_icon(&OldIcon) ; disp_region(OldIcon,WindowHandle) ;
::get_icon always returns H_MSG_TRUE.
System