Desktop Functions: Smart Device Functions:
|
Search Results for "SetFocus" in [All]shlwapi
void SetFocus(); user322: CreateCaret Windows allows only one caret per message queue. To add a caret to a control, handle the WM_SETFOCUS message, or the GotFocus event, or override OnGotFocus if you're writing a custom control, and call CreateCaret from the message or event handler. You should also handle WM_KILLFOCUS, LostFocus or OnLostFocus and call DestroyCaret. You will also need to call ShowCaret to make the caret visible, and SetCaretPos to set its position. 3: SetFocus
static extern IntPtr SetFocus(IntPtr hWnd);
Private Declare Function SetFocus Lib "user32.dll" (ByVal hwnd As IntPtr) As IntPtr SetFocus(p.MainWindowHandle) Constants4: ShellAPI
public const int NIM_SETFOCUS = 0x00000003; 5: ShellAPI
public const int NIM_SETFOCUS = 0x00000003; 6: WM
private const UInt32 WM_SETFOCUS = 0x0007;
WM_SETFOCUS = &H7
WM_SETFOCUS equ 007h Structures
public uint bSetFocus; kernel32
public uint bSetFocus; Enums9: HCBT
SetFocus = 9
SetFocus = 9 10: WindowsMessages
/// The WM_SETFOCUS message is sent to a window after it has gained the keyboard focus.
SETFOCUS = 0x0007,
WM_SETFOCUS = &H7
WmSetFocus = &H7 Interfaces11: IDeskBand
Function OnFocusChangeIS(<MarshalAs(UnmanagedType.IUnknown)> punkObj As [Object], fSetFocus As Int32) As Int32 12: IDeskBand2
Function OnFocusChangeIS(<MarshalAs(UnmanagedType.IUnknown)> punkObj As [Object], fSetFocus As Int32) As Int32 13: IInputObjectSite
[MarshalAs (UnmanagedType.Bool)] ref bool fSetFocus); |