Click or drag to resize

ShellControlHelper Methods

The ShellControlHelper type exposes the following members.

Methods
 NameDescription
Public methodStatic memberFromHbitmap Converts a handle to a HBITMAP structure to an Image instance. If the size given is lesser than 256 pixels in width and height, the alpha channel is preserved.
Public methodStatic memberGetCurrentDPI Returns the currently set DPI of the primary monitor.
Public methodStatic memberSetEditableCaption(IntPtr, String) Sets the editable caption of the editable component of a control.
Public methodStatic memberSetEditableCaption(IntPtr, IShellItem, String, String) Sets the editable caption of the editable component of a control. Currently removes the drive letter of drive names.
Public methodStatic memberVariantToString This method converts the given variant to a string.
Top
See Also