User32DrawFrameControl(IntPtr, Rectangle, DrawFrameControlType, DrawFrameControlCaptionType) Method
Draws a frame control of the specified type and style on the specified device context for a button.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- hdc IntPtr
-
A handle to the device context where the frame control is drawn.
- refRect Rectangle
-
A rectangle structure that specifies the area for the frame control.
- type DrawFrameControlType
-
The type of frame control to draw.
- captionType DrawFrameControlCaptionType
-
When type parameter is
Caption or PopupMenu,
specifies the type of caption frame control to draw.
BooleanTrue if the function succeeds,
False otherwise.