ptinsid.c
来自「神龙卡开发原代码」· C语言 代码 · 共 19 行
C
19 行
#include "windows.h"#include "wintools.h"BOOL WINAPIPtInsideWindow(HWND hwnd,UINT x,UINT y){ /* Determine whether or not the position ( x, y) is contained */ /* within the control's client rectangle. */ RECT clientRect; POINT buttonPoint; buttonPoint.x = x; buttonPoint.y = y; GetClientRect( hwnd, &clientRect); return PtInRect( &clientRect, buttonPoint);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?