Desktop Functions: Smart Device Functions:
|
Search Results for "HWND" in [All]mpr
private static extern int WNetAddConnection3(IntPtr hWndOwner,
''' <param name="hWndOwner"></param>
Private Shared Function WNetAddConnection3(ByVal hWndOwner As IntPtr, _
WNetAddConnection3(hWnd, ref ConnInf, null, null,
private static extern int WNetAddConnection3(IntPtr hWndOwner,
''' <param name="hWndOwner"></param>
Private Shared Function WNetAddConnection3(ByVal hWndOwner As IntPtr, _
WNetAddConnection3(hWnd, ref ConnInf, null, null,
IntPtr hwndOwner, shlwapi4: AssocCreate
[In] IntPtr hwnd);
void SetWindow(IntPtr hwnd, ref RECT rect);
void QueryFocus(out IntPtr phwnd);
IntPtr hwndEdit,
Declare Function SHAutoComplete Lib "shlwapi.dll" (ByVal hWndEdit As IntPtr, ByVal dwFlags As AutoCompleteFlags) As Integer
[In] IntPtr hwnd, ole328: OleCreate
static extern void OleCreatePropertyFrame(IntPtr hwndOwner, int x, int y,
(ByVal hwndOwner As IntPtr, _
static extern int OleCreatePropertyFrame(IntPtr hwndOwner,
static extern void OleCreatePropertyFrame(IntPtr hwndOwner, uint x, uint y,
(ByVal hwndOwner As IntPtr, _ 10: RegisterDragDrop
static extern int RegisterDragDrop(IntPtr hwnd, IDropTarget pDropTarget); DRAGDROP_E_INVALIDHWND = ?; winmm11: mciSendString
static extern Int32 mciSendString(string command, StringBuilder buffer, int bufferSize, IntPtr hwndCallback);
Private Shared Function mciSendString(ByVal command As String, ByVal buffer As StringBuilder, ByVal bufferSize As Integer, ByVal hwndCallback As IntPtr) As Integer
Declare Ansi Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal command As String, ByRef buffer As StringBuilder, ByVal bufferSize As Integer, ByVal hWndCallback As IntPtr) As Integer
static extern Int32 mciSendString(string command, string buffer, int bufferSize, IntPtr hwndCallback);
private IntPtr hwndOwner;
// private UInt32 cMultipleItems; //Unioned with hwndOwner /* if _MULTIPLE, the number of items per channel */
get { return this.hwndOwner; }
set { this.hwndOwner = value; }
get { return (UInt32)this.hwndOwner; }
set { this.hwndOwner = (IntPtr)value; }
Dim hWndOwner As IntPtr imm3214: ImmConfigureIME
IntPtr hWnd, 15: ImmGetContext
public static extern IntPtr ImmGetContext(IntPtr hWnd);
Declare Function ImmGetContext Lib "Imm32.dll" (hWnd As Intptr) As Intptr
Friend Shared Function ImmGetContext(hWnd As IntPtr) As IntPtr
public static extern IntPtr ImmGetContext(IntPtr hwnd);
public static extern int ImmSimulateHotKey(IntPtr hwnd, int lngHotkey);
public string[] GetReverseConversion(IntPtr AHwnd,string AText)
IntPtr hIMC = ImmGetContext(AHwnd);
public static extern bool ImmReleaseContext(IntPtr hWnd,IntPtr hIMC); Constants18: BM_CLICK
LRESULT APIENTRY buttonPlsVisibleProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
MessageBox(hWnd, L"Hello bn", NULL, MB_OK);
//MoveWindow(hWnd, r.right - 28, 6, 24, 24, TRUE);
//SetBitmap(hWnd, (isPlaylistVisible ? IDB_RESTORE_PRESSED : IDB_CLOSE_PRESSED));
//MoveWindow(hWnd, r.right - 29, 5, 24, 24, TRUE);
//SetBitmap(hWnd, (isPlaylistVisible ? IDB_RESTORE_NORMAL : IDB_CLODE_NORMAL));
return CallWindowProc(buttonPlsVisible_proc, hWnd, Msg, wParam, lParam);
public const uint GW_HWNDFIRST = 0;
public const uint GW_HWNDLAST = 1;
public const uint GW_HWNDNEXT = 2;
public const uint GW_HWNDPREV = 3;
public const uint GW_HWNDFIRST = 0;
public const uint GW_HWNDLAST = 1;
public const uint GW_HWNDNEXT = 2;
public const uint GW_HWNDPREV = 3;
GW_HWNDFIRST = 0
GW_HWNDLAST = 1
GW_HWNDNEXT = 2
GW_HWNDPREV = 3
static readonly int GWL_HWNDPARENT = -8;
Public Const GWL_HWNDPARENT = -8
GWLP_HWNDPARENT = -8, 21: HWND
public const IntPtr HWND_BROADCAST = new IntPtr(0xffff);
public const IntPtr HWND_TOP = new IntPtr(0);
public const IntPtr HWND_BOTTOM = new IntPtr(1);
public const IntPtr HWND_TOPMOST = new IntPtr(-1);
public const IntPtr HWND_NOTOPMOST = new IntPtr(-2);
public const IntPtr HWND_MESSAGE = new IntPtr(-3);
Public Const HWND_BROADCAST As Int32 = &HFFFF
Public Const HWND_TOP As Int32 = &H0
Public Const HWND_BOTTOM As Int32 = &H1
Public Const HWND_TOPMOST As Int32 = -&H1
Public Const HWND_NOTOPMOST As Int32 = -&H2
Public Const HWND_MESSAGE As Int32 = -&H3 22: HWND_MESSAGE public static IntPtr HWND_MESSAGE = new IntPtr(-3); 23: TCM_
// (HIMAGELIST)SNDMSG((hwnd), TCM_GETIMAGELIST, 0, 0L)
// (HIMAGELIST)SNDMSG((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
// (int)SNDMSG((hwnd), TCM_GETITEMCOUNT, 0, 0L)
// (BOOL)SNDMSG((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM FAR*)(pitem))
// (BOOL)SNDMSG((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM FAR*)(pitem))
// (int)SNDMSG((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM FAR*)(pitem))
// (BOOL)SNDMSG((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0L)
// (BOOL)SNDMSG((hwnd), TCM_DELETEALLITEMS, 0, 0L)
// (BOOL)SNDMSG((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT FAR*)(prc))
// (int)SNDMSG((hwnd), TCM_GETCURSEL, 0, 0)
// (int)SNDMSG((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
// (int)SNDMSG((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO FAR*)(pinfo))
// (BOOL)SNDMSG((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0L)
// (int)SNDMSG(hwnd, TCM_ADJUSTRECT, (WPARAM)(BOOL)bLarger, (LPARAM)(RECT FAR *)prc)
// (DWORD)SNDMSG((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
// (void)SNDMSG((hwnd), TCM_REMOVEIMAGE, i, 0L)
// (void)SNDMSG((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
// (int)SNDMSG((hwnd), TCM_GETROWCOUNT, 0, 0L)
// (int)SNDMSG((hwnd), TCM_GETCURFOCUS, 0, 0)
// SNDMSG((hwnd),TCM_SETCURFOCUS, i, 0)
// (int)SNDMSG((hwnd), TCM_SETMINTABWIDTH, 0, x)
// (void)SNDMSG((hwnd), TCM_DESELECTALL, fExcludeFocus, 0)
// (BOOL)SNDMSG((hwnd), TCM_HIGHLIGHTITEM, (WPARAM)i, (LPARAM)MAKELONG (fHighlight, 0))
// (DWORD)SNDMSG((hwnd), TCM_SETEXTENDEDSTYLE, 0, dw)
// (DWORD)SNDMSG((hwnd), TCM_GETEXTENDEDSTYLE, 0, 0)
' (HIMAGELIST)SNDMSG((hwnd), TCM_GETIMAGELIST, 0, 0L)
' (HIMAGELIST)SNDMSG((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
' (int)SNDMSG((hwnd), TCM_GETITEMCOUNT, 0, 0L)
' (BOOL)SNDMSG((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM FAR*)(pitem))
' (BOOL)SNDMSG((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM FAR*)(pitem))
' (int)SNDMSG((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM FAR*)(pitem))
' (BOOL)SNDMSG((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0L)
' (BOOL)SNDMSG((hwnd), TCM_DELETEALLITEMS, 0, 0L)
' (BOOL)SNDMSG((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT FAR*)(prc))
' (int)SNDMSG((hwnd), TCM_GETCURSEL, 0, 0)
' (int)SNDMSG((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
' (int)SNDMSG((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO FAR*)(pinfo))
' (BOOL)SNDMSG((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0L)
' (int)SNDMSG(hwnd, TCM_ADJUSTRECT, (WPARAM)(BOOL)bLarger, (LPARAM)(RECT FAR *)prc)
' (DWORD)SNDMSG((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
' (void)SNDMSG((hwnd), TCM_REMOVEIMAGE, i, 0L)
' (void)SNDMSG((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
' (int)SNDMSG((hwnd), TCM_GETROWCOUNT, 0, 0L)
' (int)SNDMSG((hwnd), TCM_GETCURFOCUS, 0, 0)
' SNDMSG((hwnd),TCM_SETCURFOCUS, i, 0)
' (int)SNDMSG((hwnd), TCM_SETMINTABWIDTH, 0, x)
' (void)SNDMSG((hwnd), TCM_DESELECTALL, fExcludeFocus, 0)
' (BOOL)SNDMSG((hwnd), TCM_HIGHLIGHTITEM, (WPARAM)i, (LPARAM)MAKELONG (fHighlight, 0))
' (DWORD)SNDMSG((hwnd), TCM_SETEXTENDEDSTYLE, 0, dw)
' (DWORD)SNDMSG((hwnd), TCM_GETEXTENDEDSTYLE, 0, 0) 24: WA_
if (m.Msg == Win32.WM_ACTIVATE && m.HWnd == f.Handle 25: WINERROR
public const int ERROR_HWNDS_HAVE_DIFF_PARENT = 1441;
public const int OLE_E_INVALIDHWND = (int)(0x8004000F - 0x100000000);
public const int DRAGDROP_E_INVALIDHWND = (int)(0x80040102 - 0x100000000);
public const int OLEOBJ_S_INVALIDHWND = 0x00040182; msi26: MsiSetInternalUI
static extern int MsiSetInternalUI(int dwUILevel, ref IntPtr phWnd);
static extern int MsiSetInternalUI(INSTALLUILEVEL dwUILevel, ref IntPtr phWnd);
Private Function MsiSetInternalUI(dwUILevel As INSTALLUILEVEL, ByRef phWnd As IntPtr) As Integer
IntPtr hwnd = IntPtr.Zero;
MsiUtils.MsiSetInternalUI(MsiUtils.INSTALLUILEVEL.INSTALLUILEVEL_NONE , ref hwnd); credui
public IntPtr hwndParent;
credui.hwndParent = this.Handle;
public IntPtr hwndParent; mapi3229: MAPILogon
uint error = MAPILogon(hwnd, null, null, MAPI_LOGON_UI, 0, ref session); 30: MAPISendMail
Private Shared Function MAPISendMail(ByVal sess As IntPtr, ByVal hwnd As IntPtr, ByVal message As MapiMessage,
static extern int MAPISendMail(IntPtr sess, IntPtr hwnd, MapiMessage message, int flg, int rsv); Delegates
public delegate int BrowseCallbackProc(IntPtr hwnd, int uMsg, IntPtr lParam, IntPtr lpData);
Public Delegate Function BrowseCallbackProc(hwnd As IntPtr, uMsg As Integer, lParam As IntPtr, lpData As IntPtr) As Integer 32: EnumWindowsProc
private delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam);
Private Delegate Function EnumWindowsProc(ByVal hWnd As IntPtr, ByVal lParam As IntPtr) As Boolean If you’re going to use the lParam to return a by-value result (such as the hwnd of a window you are looking for), you’ll want to send lParam by reference:
private delegate bool EnumWindowsProc(IntPtr hWnd, ref IntPtr lParam);
Private Delegate Function EnumWindowsProc(ByVal hWnd As IntPtr, ByRef lParam As IntPtr) As Boolean hwnd in Type: HWND A handle to the window associated with the timer. 34: WndProc
delegate IntPtr WndProc (IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam);
Delegate Function WndProc (ByVal hWnd As IntPtr, ByVal msg As Integer, _ 35: WndProc
private delegate IntPtr WndProc(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam);
Private Delegate Function WndProc(ByVal hWnd As IntPtr, ByVal msg As UInteger, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr setupapi36: Option Explicit
public static extern IntPtr SetupDiGetClassDevs(ref Guid classGuid, IntPtr enumerator, IntPtr hwndParent, UInt32 flags);
IntPtr hwndParent,
IntPtr hwndParent,
IntPtr hwndParent,
ByVal hwndParent As Integer, _
ByRef hwndParent As String, _
ByVal hwndParent As IntPtr, _
public IntPtr hwndParent;
Public hwndParent As IntPtr Interfaces40: IActiveDesktop
int AddDesktopItemWithUI(IntPtr hwnd, ref COMPONENT pcomp, DtiAddUI dwFlags);
int AddUrl(IntPtr hwnd, [MarshalAs(UnmanagedType.LPWStr)] string pszSource, ref COMPONENT pcomp, AddURL dwFlags);
Function AddDesktopItemWithUI(ByVal hwnd As IntPtr, ByRef pcomp As COMPONENT, ByVal dwFlags As DtiAddUI) As Integer
Function AddUrl(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal pszSource As String, ByRef pcomp As COMPONENT, ByVal dwFlags As AddURL) As Integer 41: IAuthenticate
void Authenticate(IntPtr phwnd,
Sub Authenticate(IntPtr phwnd,
/// <param name="phwnd">The HWND of the parent window for a default user interface.</param>
///Client should also set phwnd to zero.</param>
public void Authenticate(IntPtr phwnd, ref string pszUsername, ref string pszPassword)
phwnd = IntPtr.Zero; 42: IAutoComplete2
IntPtr hwndEdit, 43: IDeskBand
int GetWindow(out IntPtr phwnd);
Public Overridable Sub GetWindow(ByRef phwnd As System.IntPtr) Implements IDeskBand.GetWindow, IDockingWindow.GetWindow, IOleWindow.GetWindow
phwnd = Handle
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub GetWindow(ByRef phwnd As System.IntPtr)
Public hwnd As IntPtr 44: IDeskBand2
int GetWindow(out IntPtr phwnd);
Public Overridable Sub GetWindow(ByRef phwnd As System.IntPtr) Implements IDeskBand.GetWindow, IDockingWindow.GetWindow, IOleWindow.GetWindow
phwnd = Handle
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub GetWindow(ByRef phwnd As System.IntPtr)
Sub GetWindow(ByRef phwnd As System.IntPtr)
Public hwnd As IntPtr 45: IDocHostShowUI
uint ShowMessage(IntPtr hwnd,
uint ShowHelp(IntPtr hwnd, [MarshalAs(UnmanagedType.LPWStr)] string pszHelpFile,
Function ShowMessage(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpstrText As String, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpstrCaption As String, ByVal dwType As Integer, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpstrHelpFile As String, ByVal dwHelpContext As Integer, ByRef lpResult As Integer) As Integer
Function ShowHelp(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal pszHelpFile As String, ByVal uCommand As Integer, ByVal dwData As Integer, ByVal ptMouse As tagPoint, <MarshalAs(UnmanagedType.IDispatch)> ByVal pDispatchObjectHit As Object) As Integer
[In] IntPtr hwnd,
void DragEnter([In] IntPtr hwndTarget, [In, MarshalAs(UnmanagedType.Interface)] IDataObject_Com dataObject, [In] ref drawing.Point pt, [In] DragDropEffects effect);
dropHelper.DragEnter(hWnd, e.Data as IDataObject_Com, ref point, e.Effects); 48: IFileSaveDialog
[In, ComAliasName ( "ShellObjects.wireHWND" )] ref IntPtr hwnd,
HandleRef hwndParent,
ByVal hwndParent As IntPtr, 50: IKnownFolder
void Redirect ( [In] ref Guid rfid, [In] IntPtr hwnd, [In] uint Flags,
void Redirect ( [In] ref Guid rfid, [In] IntPtr hwnd, [In] uint Flags, 52: IOleObject
void DoVerb(uint iVerb, uint lpmsg, object pActiveSite, uint lindex, uint hwndParent, uint lprcPosRect); 53: IOleWindow
/// <param name="phwnd">Pointer to where to return the window handle.</param>
void GetWindow (out IntPtr phwnd) ;
''' <param name="phwnd">Pointer to where to return the window handle.</param>
Sub GetWindow(<System.Runtime.InteropServices.Out()> ByRef phwnd As IntPtr) 54: IProgressDialog
/// <param name="hwndParent">A handle to the dialog box's parent window.</param>
IntPtr hwndParent, //HWND 55: IShellBrowser
void GetWindow(out IntPtr phwnd); 56: IShellFolder
/// <param name="hwnd">Optional window handle</param>
void ParseDisplayName(IntPtr hwnd, IntPtr pbc, String pszDisplayName, UInt32 pchEaten, out IntPtr ppidl, UInt32 pdwAttributes);
/// <param name="hwnd">If user input is required to perform the enumeration, this window handle should be used by the enumeration object as the parent window to take user input.</param>
void EnumObjects(IntPtr hwnd, ESHCONTF grfFlags, out IntPtr ppenumIDList);
/// <param name="hwndOwner">Handle to the owner window.</param>
void CreateViewObject(IntPtr hwndOwner, [In] ref Guid riid, out IntPtr ppv);
/// <param name="hwndOwner">Handle to the owner window that the client should specify if it displays a dialog box or message box.</param>
void GetUIObjectOf(IntPtr hwndOwner, UInt32 cidl, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)]IntPtr[] apidl, [In] ref Guid riid, UInt32 rgfReserved, out IntPtr ppv);
/// <param name="hwnd"> Handle to the owner window of any dialog or message boxes that the client displays.</param>
void SetNameOf(IntPtr hwnd, IntPtr pidl, String pszName, ESHCONTF uFlags, out IntPtr ppidlOut); 57: IShellLinkA
void Resolve(IntPtr hwnd, UnsafeNativeMethods.SLR_FLAGS fFlags);
Sub Resolve(ByVal hWnd As IntPtr, ByVal fFlags As UInteger) 58: IShellLinkW
void Resolve(IntPtr hwnd, UnsafeNativeMethods.SLR_FLAGS fFlags);
<PreserveSig()> Function Resolve(ByVal hwnd As IntPtr, ByVal fFlags As Integer) As HRESULT 59: IShellView
[Out] out UInt32 phWnd); 60: IShellView3
[Out] out UInt32 phWnd); Cut off search results after 60. Please refine your search. |