CDM_HIDECONTROL Message ()

The CDM_HIDECONTROL message hides the specified control in an Explorer-style Open or Save As dialog box. The dialog box must have been created with the OFN_EXPLORER flag; otherwise, the message fails.

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns LRESULT in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) CDM_HIDECONTROL,     // message ID
   (WPARAM) wParam,     // = (WPARAM) () wParam;
   (LPARAM) lParam     // = 0; not used, must be zero
);

Parameters

wParam
Identifier of the control to hide.
lParam
This parameter is not used.

Return Value

This message has no return value.



Remarks

The corresponding macro is as follows:

void CommDlg_OpenSave_HideControl(hwnd, wparam);

Message Information

HeaderDeclared in Commdlg.h, include Windows.h
Minimum operating systems Windows 95, Windows NT 4.0

See Also

Common Dialog Box Library, GetOpenFileName, GetSaveFileName, OPENFILENAME