惧留孙网
juliusun.com
网站首页
在线教程
下载专区
用户文章
反馈建议
在线聊天
我的帐户
惧留孙网
>
惧留孙课堂
>
在线手册
>
WINDOWS API手册
>
ScreenToClient
accept
AdjustWindowRect
AdjustWindowRectEx
AngleArc
AppendMenu
Arc
ArcTo
BeginPaint
bind
BitBlt
BM_GETCHECK
BM_SETCHECK
Button_GetCheck
Button_SetCheck
ClientToScreen
closesocket
connect
CreateCompatibleDC
CreateDialog
CreateDialogParam
CreateFont
CreateMenu
CreatePen
CreatePopupMenu
CreateSolidBrush
CreateWindow
CreateWindowEx
DefWindowProc
DeleteDC
DeleteObject
DestroyCursor
DestroyIcon
DestroyMenu
DestroyWindow
DialogBox
DialogBoxParam
DialogProc
DispatchMessage
DrawIcon
DrawIconEx
Edit_HideBalloonTip
Edit_ShowBalloonTip
EDITBALLOONTIP
Ellipse
EM_HIDEBALLOONTIP
EM_SHOWBALLOONTIP
EndDialog
EndPaint
FillRect
FrameRect
GetArcDirection
GetClientRect
GetDlgItem
GetDlgItemText
GetMessage
GetStockObject
GetSystemMetrics
GetTextAlign
GetWindowText
GetWindowTextLength
InvalidateRect
IsDialogMessage
LineTo
listen
LoadCursor
LoadIcon
LoadImage
MAKEINTRESOURCE
MessageBox
MoveToEx
MSG
Pie
POINT
Polygon
Polyline
PolylineTo
PolyPolyline
PostMessage
PostQuitMessage
PostThreadMessage
Rectangle
recv
RegisterClass
RegisterClassEx
RoundRect
ScreenToClient
SelectObject
send
SendDlgItemMessage
SendMessage
SetArcDirection
SetBkColor
SetBkMode
SetDlgItemText
SetPixel
SetTextAlign
SetTextColor
SetWindowText
ShowWindow
socket
strcmp
StretchBlt
strlen
TextOut
TrackPopupMenu
TrackPopupMenuEx
TranslateMessage
UnregisterClass
UpdateWindow
wcscmp
wcslen
WindowProc
WinMain
WM_CHAR
WM_CLOSE
WM_COMMAND
WM_CREATE
WM_DESTROY
WM_GETTEXT
WM_GETTEXTLENGTH
WM_INITDIALOG
WM_KEYDOWN
WM_KEYUP
WM_LBUTTONDBLCLK
WM_LBUTTONDOWN
WM_LBUTTONUP
WM_MBUTTONDBLCLK
WM_MBUTTONDOWN
WM_MBUTTONUP
WM_MOUSEHWHEEL
WM_MOUSEMOVE
WM_MOUSEWHEEL
WM_NCDESTROY
WM_NCHITTEST
WM_PAINT
WM_QUIT
WM_RBUTTONDBLCLK
WM_RBUTTONDBLCLK
WM_RBUTTONDOWN
WM_RBUTTONUP
WM_SETFONT
WM_SETTEXT
WM_XBUTTONDBLCLK
WM_XBUTTONDOWN
WM_XBUTTONUP
WNDCLASS
WNDCLASSEX
WSACleanup
WSADATA
WSAStartup
wsprintf
ScreenToClient
函数
将屏幕坐标转换成客户区座标。
函数原型:
BOOL
ScreenToClient (
HWND
hWnd,
LPPOINT
lpPoint );
参数
hWnd
类型:
HWND
窗口句柄,它的客户将会被转换。
lpPoint
类型:
LPPOINT
一个指向结构体
POINT
的指针,指向的坐标将会被转换。如果函数成功,窗口客户区座标将会被复制到指向的结构体中。
返回值
类型:
BOOL
成功返回非0。
失败返回0。
备注
可以通过
ClientToScreen
进行反向转换。
支持
最低桌面系统支持
Windows 2000 Professional
头文件
Winuser.h (已包含在Windows.h中)
库
User32.lib
DLL
User32.dll
作者:
QQ:3304576112
交流QQ群:316930386
本站保留本页版权,可共享网址,匆复制内容
©2015-2024 惧留孙网 juliusun.com
京ICP备15039193号-1
首页
教程
下载
文章
聊天
我的