Hello
I've successfully set the standard CPSUI items' context sensitive help by setting OPTITEM.HelpIndex to a value in my own help file, then setting _OPTITEM.pOIExt to an OPTITEM struct withe IOEXT.pHelpFile pointing to my own help file. Works fine on Windows XP, but not at all on Windows 2000. On Windows XP I get the standard help for that item.
Are you aware of this, any suggestions for a workaround? Install a newer CPSUI
Code snippet for Color or Black and White setting
...
pOptItem->pName = (LPTSTR)IDS_CPSUI_COLOR_APPERANCE
pOptItem->DMPubID = DMPUB_COLOR
pOptItem->HelpIndex = (DWORD)myHelpIndex; // NOT IDH_COLO
if (pOptItem->HelpIndex != 0
// A Help Index for a CPSUI standard control will use the CPSUI standard hel
// unless the item points to a OIEXT structure that specifies the helpfil
OIEXT* pOIExt = (OIEXT*)LocalAlloc(LPTR, sizeof(OIEXT))
memset(pOIExt, 0, sizeof(OIEXT))
pOIExt->cbSize = sizeof(OIEXT)
pOIExt->pHelpFile = pPI->pHelpFile
pOptItem->pOIExt = pOIExt
...