|
|||
|
Home |
Adding a Colour menu
|
||
|
|
Add Colour Menu
|
||
|
|
Add a “Colour Menu” event-handler Add the following event-handler to !RunImage
The Toolbox method |
||
|
|
Forcing a redraw Since the colour menu is attached to the window, the window is the parent of the menu and its object id can be obtained using the method PROCToolbox_GetParent. Once the window's id is known, its extent can be found and a command to redraw issued:
|
||
|
|
Worked solution | ||