To create an
object suitable for drawing on an given pane, use one of
Another way is to supply a registered image identifier in some CAPI class that suports images. For example you can specify an
. Then, an
object is created implicitly when the pinboard object is displayed.
In all cases, the functions that create the
object require the pane to be already created. So if you are displaying the image when first displaying your window, take care to create the
object late enough, for example in the
of the interface or in the first
of the pane.