How to remove the context help icon from CFindReplaceDialog?

ChuckieAJ 86 Reputation points
2024-04-28T21:48:26.19+00:00

I am using a CFindReplaceDialog in my application. But, it displays the Context Help icon in the top right. How can I stop displaying this icon?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,549 questions
{count} votes

Accepted answer
  1. RLWA32 40,856 Reputation points
    2024-04-29T06:39:12.4766667+00:00

    The system provided dialog templates do not have the DS_CONTEXTHELP style. You can see this by looking at the FindText.Dlg file and also by using VS to load the actual dialogs from comdlg32.dll.mui into the resource editor.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. RLWA32 40,856 Reputation points
    2024-04-29T00:25:05.15+00:00

    Using Win 1022H2 and VS2022 I could not reproduce your issue. The caption of the CFindReplaceDialog window did not contain the ? Help button for context-sensitive help.

    FRdialog

    1 person found this answer helpful.