I would like to disable Help button or change its behaviour (currently it opens https://go.microsoft.com/fwlink/?LinkID=2004439) on OpenFileDialog window.
I hoped to use IFileDialogCustomize::RemoveControlItem() or IFileDialogCustomize::SetControlItemState(, , CDCS_INACTIVE). However, I don't know how to find dwIDItem for the Help button. Inspect.exe tool gives the following information:
hwnd=0x0000000000090958 64bit class="DirectUIHWND" style=0x56000000 ex=0x10000
Name: "&Help"
ControlType: UIA_ButtonControlTypeId (0xC350)
So, can I disable/hide this button or change its behaviour? If so, are there any examples of how this is done?
