The pop-up menu in my canvas has funny colours You need to use CMS_CONTROL_CMS when you create the CMS for your canvas. This allocates the OPEN LOOK UI 3D colors at the start of the colormap. The foreground color lives right at the end.

Parent document is top of "OPEN LOOK GUI FAQ 03/04: the XView Toolkit"
Previous document is "OpenWindows 3 imake doesn't work properly Here is Greg Earle's patch, to be applied in $OPENWINHOME; note that you should edit lib/config/ afterwards to get OSName and OSMinorVersion right (MinorVersion is 1 in SunOS 4.1.2, for example). I have edited the patch a little, so any bugs are mine [] :-)"
Next document is "The second ttysw in my program doesn't work XView only supports one ttysw per program!"