| 名称 | 说明 |
---|
  | AllocConsole | |
  | AlphaBlend | |
  | AnimateWindow | |
  | BeginPaint | |
  | BitBlt | |
  | CallNextHookEx | |
  | CallWindowProc | |
  | ChildWindowFromPointEx | |
  | ChoosePixelFormat | |
  | CoCreateInstance | |
  | CombineRgn | |
  | CreateBitmapIndirect | |
  | CreateCaret | |
  | CreateCompatibleBitmap | |
  | CreateCompatibleDC | |
  | CreateDC | |
  | CreateDCA | |
  | CreateDCW | |
  | CreateDIBSection(IntPtr, NativeMethodsBitMapInfo, UInt32, IntPtr, IntPtr, UInt32) | |
  | CreateDIBSection(IntPtr, NativeMethodsBITMAPINFO_FLAT, Int32, Int32, IntPtr, Int32) | |
  | CreateDIBSection(IntPtr, NativeMethodsBITMAPINFO_FLAT, Int32, IntPtr, IntPtr, Int32) | |
  | CreateDIBSection(IntPtr, IntPtr, Int32, IntPtr, IntPtr, Int32) | |
  | CreateHatchBrush | |
  | CreateILockBytesOnHGlobal | |
  | CreateMemoryHdc |
Create a compatible memory HDC from the given HDC.
The memory HDC can be rendered into without effecting the original HDC.
The returned memory HDC and dib must be released using ReleaseMemoryHdc(IntPtr, IntPtr).
|
  | CreatePatternBrush | |
  | CreatePen | |
  | CreateRectRgn | |
  | CreateRoundRectRgn | |
  | CreateSolidBrush | |
  | CreateWindowEx | |
  | DefWindowProc | |
  | DeleteDC | |
  | DeleteObject | |
  | DestroyCaret | |
  | DestroyWindow | |
  | DwmEnableBlurBehindWindow | |
  | DwmEnableComposition | |
  | DwmExtendFrameIntoClientArea | |
  | DwmIsCompositionEnabled | |
  | EndPaint | |
  | ExtCreateRegion | |
  | FindWindow | |
  | FindWindowEx | |
  | FreeConsole | |
  | GdiFlush | |
  | GdipBitmapApplyEffect | |
  | GdipBitmapConvertFormat | |
  | GdipBitmapCreateApplyEffect | |
  | GdipCreateEffect | |
  | GdipDeleteEffect | |
  | GdipGetEffectParameters | |
  | GdipGetEffectParameterSize | |
  | GdipInitializePalette | |
  | GdipSetEffectParameters | |
  | GetBkColor | |
  | GetBkMode | |
  | GetCaretBlinkTime | |
  | GetClassName | |
  | GetClientRect | |
  | GetComboBoxInfo | |
  | GetCurrentThreadId | |
  | GetCursorInfo | |
  | GetCursorPos | |
  | GetDC | |
  | GetDesktopWindow | |
  | GetDIBits | |
  | GetKeyState | |
  | GetModuleHandle | |
  | GetObject | |
  | GetParent | |
  | GetPixel | |
  | GetScrollBarInfo |
检索有关指定滚动条信息。
|
  | GetScrollInfo | |
  | GetScrollPos | |
  | GetShortPathName | |
  | GetSystemMenu | |
  | GetSystemMetrics | |
  | GetTextColor | |
  | GetTextExtentExPoint | |
  | GetTextExtentPoint32 | |
  | GetTextFace | |
  | GetTextMetrics | |
  | GetVersionExA | |
  | GetWindowDC |
获取Form绘图设备句柄(包括Window非工作区域)
|
  | GetWindowLong | |
  | GetWindowLongA | |
  | GetWindowLongPtr | |
  | GetWindowLongPtr32 | |
  | GetWindowLongPtr64 | |
  | GetWindowRect |
获取窗口大小及位置
|
  | GetWindowRectangle |
Retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.
|
  | GetWindowThreadProcessId | |
  | HideCaret | |
  | HIWORD | |
  | ImmAssociateContext | |
  | ImmAssociateContextEx | |
  | ImmCreateContext | |
  | ImmDestroyContext | |
  | ImmGetCompositionString | |
  | ImmGetContext | |
  | ImmGetConversionStatus | |
  | ImmGetOpenStatus | |
  | ImmReleaseContext | |
  | ImmSetCompositionWindow | |
  | ImmSetConversionStatus | |
  | ImmSetOpenStatus | |
  | InvalidateRect | |
  | IsAppThemed | |
  | IsWindow | |
  | IsWindowVisible | |
  | LineTo | |
  | LoadCursor | |
  | LoadLibrary | |
  | LOWORD | |
  | MAKELONG | |
  | MAKELPARAM | |
  | mciSendString | |
  | MessageBox | |
  | mouse_event | |
  | MouseToMoveControl |
鼠标移动窗体或者控件(在鼠标按下事件里调用该方法,来实现鼠标移动窗体或者控件)
|
  | MoveToEx | |
  | MoveWindow(IntPtr, Int32, Int32, Int32, Int32, Boolean) | |
  | MoveWindow(IntPtr, Int32, Int32, Int32, Int32, Int32) | |
  | OffsetRect |
OffsetRect函数将指定的矩形移动到指定的位置
|
  | OleCreateFromFile | |
  | OleDraw | |
  | OleSetContainedObject | |
  | PatBlt | |
  | PostMessage | |
  | PtInRect | |
  | Rectangle | |
  | RedrawWindow(IntPtr, IntPtr, IntPtr, UInt32) | |
  | RedrawWindow(HandleRef, COMRECT, HandleRef, Int32) | |
  | RedrawWindow(HandleRef, RECT, HandleRef, Int32) | |
  | RegisterClassEx | |
  | RegisterHotKey |
热键定义
|
  | ReleaseCapture | |
  | ReleaseDC |
释放绘图设备
|
  | ReleaseMemoryHdc | |
  | ScreenToClient(IntPtr, POINT) | |
  | ScreenToClient(IntPtr, Point) | |
  | SelectClipRgn | |
  | SelectObject | |
  | SendMessage(IntPtr, Int32, Int32) | |
  | SendMessage(Int32, Int32, Int32, Int32) | |
  | SendMessage(IntPtr, Int32, Int32, Int32) | |
  | SendMessage(IntPtr, Int32, Int32, IntPtr) | |
  | SendMessage(IntPtr, Int32, IntPtr, IntPtr) | |
  | SendMessage(HandleRef, Int32, IntPtr, IntPtr) | |
  | SetActiveWindow | |
  | SetBkColor | |
  | SetBkMode | |
  | SetBrushOrgEx | |
  | SetCapture | |
  | SetCaretPos | |
  | SetCursor | |
  | SetCursorPos | |
  | SetDIBits | |
  | SetDIBitsToDevice | |
  | SetForegroundWindow | |
  | SetLayeredWindowAttributes | |
  | SetParent | |
  | SetPixel | |
  | SetPixelFormat | |
  | SetProcessDPIAware |
设置当前进程DPI界面不缩放
96 DPI = 100% scaling
120 DPI = 125% scaling
144 DPI = 150% scaling
192 DPI = 200% scaling
|
  | SetScrollInfo | |
  | SetScrollPos | |
  | SetTextAlign | |
  | SetTextColor | |
  | SetWindowLong(IntPtr, Int16, IntPtr) | |
  | SetWindowLong(IntPtr, Int32, UInt32) | |
  | SetWindowLong32 | |
  | SetWindowLongA | |
  | SetWindowLongPtr | |
  | SetWindowLongPtr32 | |
  | SetWindowLongPtr64 | |
  | SetWindowPos | |
  | SetWindowRgn(IntPtr, Int32, Boolean) | |
  | SetWindowRgn(IntPtr, IntPtr, Boolean) | |
  | SetWindowsHookEx | |
  | SetWindowTheme | |
  | ShowCaret | |
  | ShowWindow |
函数功能:该函数设置指定窗口的显示状态
|
  | ShowWindowAsync | |
  | StgCreateDocfileOnILockBytes | |
  | SwapBuffers | |
  | TextOut | |
  | TrackPopupMenu | |
  | TrackPopupMenuEx | |
  | TransparentBlt | |
  | UnhookWindowsHookEx | |
  | UnregisterClass | |
  | UnregisterHotKey |
取消热键定义
|
  | UpdateLayeredWindow | |
  | WindowFromDC | |