Click or drag to resize

ShellControlHelperSetEditableCaption Method (IntPtr, IShellItem, String, String)

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.0
Syntax
public static void SetEditableCaption(
	IntPtr pEditControlHandle,
	IShellItem pShellItem,
	string pCaption,
	ref string pLabelText
)

Parameters

pEditControlHandle
Type: SystemIntPtr
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
Type: Jam.ShellIShellItem
The IShellItem. Needed to determine if its a Drive.
pCaption
Type: SystemString
The caption to be transformed.
pLabelText
Type: SystemString
The text that was set as label
See Also