UniButton* |
UniCheck* |
UniLabel* |
UniOption* |
UniTextBox |
|
|
|
|
|
- Requires Windows 2000 or later.
- UniTextBox supports all IMEs.
- *
Lightweight Windowless Controls.
- Transparency/AutoSize for
UniLabel, UniCheck, UniOption
- VBA TitleBar (Themed Windows only):
Private Declare Function
FindWindow Lib "USER32.DLL" Alias "FindWindowA" (ByVal
lpClassName As String, ByVal lpWindowName As String) As Long Private Declare Function DefWindowProcW Lib "USER32.DLL" (ByVal
hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal
lParam As Long) As Long Private Const WM_SETTEXT As Long = &HC
Private Sub UserForm_Initialize() Dim UFHWnd As Long UFHWnd = FindWindow("ThunderDFrame", UserForm1.Caption) ' find the
HWnd of the UserForm TitleBarCaption(UFHWnd) = "KOR: " & ChrW$(&HC5EC) & ChrW$(&HBCF4) &
ChrW$(&HC138) & ChrW$(&HC694) End Sub
Public Property Let TitleBarCaption(ByVal hWnd As Long, ByVal
NewValue As String) DefWindowProcW hWnd, WM_SETTEXT, 0, ByVal StrPtr(NewValue) End Property
|