39 references to Win32Interop
System.Activities.Presentation (39)
Microsoft.Tools.Common\Microsoft\Tools\Common\Win32Interop.cs (8)
56
IntPtr windowStyle =
Win32Interop
.GetWindowLongPtr(hwnd.Handle,
Win32Interop
.GWL_STYLE);
59
windowStyle = new IntPtr(windowStyle.ToInt32() |
Win32Interop
.WS_CLIPSIBLINGS |
Win32Interop
.WS_CLIPCHILDREN);
63
windowStyle = new IntPtr(windowStyle.ToInt64() | ((long)
Win32Interop
.WS_CLIPSIBLINGS) | ((long)
Win32Interop
.WS_CLIPCHILDREN));
65
Win32Interop
.SetWindowLongPtr(hwnd,
Win32Interop
.GWL_STYLE, (IntPtr)windowStyle);
System.Activities.Presentation\System\Activities\Presentation\DialogWindow.cs (2)
55
if (msg ==
Win32Interop
.WM_SYSCOMMAND && wParam.ToInt64() == (long)
Win32Interop
.SC_CONTEXTHELP)
System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (1)
59
IntPtr ownerHwnd =
Win32Interop
.GetActiveWindow();
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemImageConverter.cs (1)
36
Win32Interop
.DeleteObject(hBitmap);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
620
if (null != this.viewElementDragShadow &&
Win32Interop
.WM_NCHITTEST == msgId)
System.Activities.Presentation\System\Activities\Presentation\View\WindowExtensionMethods.cs (26)
17
IntPtr exStyle =
Win32Interop
.GetWindowLongPtr(hwnd,
Win32Interop
.GWL_EXSTYLE);
20
exStyle = new IntPtr(exStyle.ToInt32() |
Win32Interop
.WS_EX_CONTEXTHELP);
24
exStyle = new IntPtr(exStyle.ToInt64() | ((long)
Win32Interop
.WS_EX_CONTEXTHELP));
26
Win32Interop
.SetWindowLongPtr(new HandleRef(window, hwnd),
Win32Interop
.GWL_EXSTYLE, exStyle);
32
IntPtr style =
Win32Interop
.GetWindowLongPtr(hwnd,
Win32Interop
.GWL_STYLE);
36
intValue = SetBit(
Win32Interop
.WS_MAXIMIZEBOX, intValue, false);
37
intValue = SetBit(
Win32Interop
.WS_MINIMIZEBOX, intValue, false);
43
longValue = SetBit((long)
Win32Interop
.WS_MAXIMIZEBOX, longValue, false);
44
longValue = SetBit((long)
Win32Interop
.WS_MINIMIZEBOX, longValue, false);
47
Win32Interop
.SetWindowLongPtr(new HandleRef(window, hwnd),
Win32Interop
.GWL_STYLE, style);
67
IntPtr exStyle =
Win32Interop
.GetWindowLongPtr(hwnd,
Win32Interop
.GWL_EXSTYLE);
70
exStyle = new IntPtr(exStyle.ToInt32() |
Win32Interop
.WS_EX_DLGMODALFRAME);
74
exStyle = new IntPtr(exStyle.ToInt64() | ((long)
Win32Interop
.WS_EX_DLGMODALFRAME));
76
Win32Interop
.SetWindowLongPtr(new HandleRef(window, hwnd),
Win32Interop
.GWL_EXSTYLE, exStyle);
78
Win32Interop
.SendMessage(hwnd,
Win32Interop
.WM_SETICON, new IntPtr(
Win32Interop
.ICON_SMALL), IntPtr.Zero);
79
Win32Interop
.SendMessage(hwnd,
Win32Interop
.WM_SETICON, new IntPtr(
Win32Interop
.ICON_BIG), IntPtr.Zero);