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

...

RE: CPSUI OIEXT.pHelpFile and Windows 2000 by a-cazyo

a-cazyo
Fri Apr 30 10:44:22 CDT 2004

------=_NextPart_0001_08D7CC3A
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello Joe,

I believe you posted before on this and I replied for that.
Could you clarify following sentence?

Works fine on Windows XP, but not at all on Windows 2000. On Windows XP I
get the standard help for that item.
-----
You mean "On Windows 2000, I get the ....."?

Thank you.
Caz Yokoyama, Microsoft DDK Support
This posting is provided "AS IS" with no warranties, and confers no rights.

------=_NextPart_0001_08D7CC3A
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg932\deff0\deflang1033\deflangfe1041{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang1041\f0\fs20 Hello Joe,
\par
\par I believe you posted before on this and I replied for that.
\par Could you clarify following sentence?
\par
\par Works fine on Windows XP, but not at all on Windows 2000. On Windows XP I get the standard help for that item.
\par -----
\par You mean "On Windows 2000, I get the ....."?
\par
\par Thank you.
\par Caz Yokoyama, Microsoft DDK Support
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_08D7CC3A--


RE: CPSUI OIEXT.pHelpFile and Windows 2000 by joehindmarsh11

joehindmarsh11
Sun May 02 18:51:04 CDT 2004


Hi, yes I do mean that on Windows 2000 I get the standard help, but on XP I get my own help

Jo