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.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax public static void SetEditableCaption(
IntPtr pEditControlHandle,
IShellItem pShellItem,
string pCaption,
ref string pLabelText
)
Public Shared Sub SetEditableCaption (
pEditControlHandle As IntPtr,
pShellItem As IShellItem,
pCaption As String,
ByRef pLabelText As String
)
public:
static void SetEditableCaption(
IntPtr pEditControlHandle,
IShellItem^ pShellItem,
String^ pCaption,
String^% pLabelText
)
static member SetEditableCaption :
pEditControlHandle : IntPtr *
pShellItem : IShellItem *
pCaption : string *
pLabelText : string byref -> unit
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