Click or drag to resize

ShellControlHelperSetEditableCaption(IntPtr, IShellItem, String, String) Method

Sets the editable caption of the editable component of a control. Currently removes the drive letter of drive names.

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
public static void SetEditableCaption(
	IntPtr pEditControlHandle,
	IShellItem pShellItem,
	string pCaption,
	ref string pLabelText
)

Parameters

pEditControlHandle  IntPtr
The handle of the edit control of the component, the editable text is applied to. Retrievable e.g. by LVM.LVM_GETEDITCONTROL for a ListView.
pShellItem  IShellItem
The IShellItem. Needed to determine if its a Drive.
pCaption  String
The caption to be transformed.
pLabelText  String
The text that was set as label
See Also