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.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic 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 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