ImageGear Professional v18.2 > API Reference Guide > GUI Component API Reference > GUI Component Objects > IGGUIPaletteCtl Control > IGGUIPaletteCtl Methods > SetParentImage Method |
Associates the IGGUIPaletteCtl Control with a particular ImageGear image. If you don't call this subroutine, then the IGGUIPaletteCtl Control will simply appear as 256 white squares and will not react to mouse events.
SetParentImage(theCoreCtl As IGCoreCtl, theDisplayCtl As
IGDisplayCtl, ParentDisplay As IGPageDisplay, ParentHwnd As
Long)
Name | Description |
---|---|
theCoreCtl | The IGCoreCtl Control used by your application program. |
theDisplayCtl | The IGDisplayCtl Control used by your application program. |
ParentDisplay | The IGPageDisplay Object used to control the display of the image in any IGPage Object. The palette of the image in this particular IGPage Object is the one that will be shown in the IGGUIPaletteCtl. |
ParentHwnd | The hWnd, if any, in which the image is being displayed. This may be set to 0, or IGPageViewCtl Controln.hWnd or IGDocumentViewCtl.hWnd. If you specify 0, then changes to the image palette will not cause the image to be re-drawn on the screen (and the user will not see the changes until the next time the image is re-drawn for other reasons). |
None
N/A
ig_guiwin.vb6.exe