惧留孙网
juliusun.com
网站首页
在线教程
下载专区
用户文章
反馈建议
在线聊天
我的帐户
惧留孙网
>
惧留孙课堂
>
在线手册
>
WINDOWS API手册
>
DispatchMessage
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
DispatchMessage
函数
调试一个消息给窗口过程。典型的用法是调度被
GetMessage
返回的消息。
函数原型:
LRESULT WINAPI
DispatchMessage (
MSG *
lpmsg );
参数
lpmsg
类型:
MSG *
指向一个
MSG
结构体指针。
返回值
类型:
LRESULT
返回值标识被窗口过程返回的值。由于意义取决于被调度的消息,通常返回值会被忽略。
备注
MSG
结构体必须包含可用信息。如果lpmsg指向的是
WM_TIMER
,lParam不为NULL,DispatchMessage将会调用lParam指向的函数,而不是窗口过程。
支持
最低桌面系统支持
Windows 2000 Professional
头文件
Winuser.h (已包含在Windows.h中)
库
User32.lib
DLL
User32.dll
UNICODE版本名
DispatchMessageW
ANSI版本名
DispatchMessageA
作者:
QQ:3304576112
交流QQ群:316930386
本站保留本页版权,可共享网址,匆复制内容
©2015-2024 惧留孙网 juliusun.com
京ICP备15039193号-1
首页
教程
下载
文章
聊天
我的