Heres what is happening. First off, I can not get the WhatsThisHelp Button to appear in the title of an MDI form although the help file says I can.

Second (On a normal form)...

I have the WhatsThisHelp Button enabled. But I have the ModifyMenu API setting the Close button to MF_GRAYED, see outline below.

1. When I have the WhatsThisHelp button on, I don't see the help button but the close button is disabled.

2. If I try to enable the WhatsThisHelp through the ModifyMenu API then both buttons are visible, but the close button is not disabled.

I tried the RemoveMenu API to get rid of the Close button but again, it only works when the WhatsThisHelp button is set to false.

What I need to happen...

If I can get the WhatsThisHelp Button to appear on the MDIForm then that is what I really need. BUT...

If I can not get it on the MDIForm then I need it on a normal form but the Close button must be either set to MF_GRAYED or removed completely (in other words I can only have the WhatThisButton and no other buttons in the title bar or all other buttons must be disabled).

Any help is much appreciated. Thanks.