MiniGUI通用窗口操作函数

可用于主窗口和控件

UpdateWindow  立即更新某个窗口
ShowWindow    显示/隐藏某个窗口
IsWindowVisible 判断某个窗口是否可见
EnableWindow 激活/禁止某个窗口
IsWindowEnabled 判断某个窗口是否可用
GetClientRect 取得客户区矩形
GetWindowRect 取得窗口矩形
GetWindowBkColor 取得窗口背景色
SetWindowBkColor 设置窗口背景色
GetWindowFont 取得窗口默认字体
SetWindowFont 设置窗口默认字体
GetWindowCursor 取得窗口光标
SetWindowCursor 设置窗口光标
GetWindowStyle 取得窗口风格
GetWindowExStyle 取得窗口扩展风格
GetFocusChild 取得有输入焦点的子窗口
SetFocusChild 设置焦点子窗口
GetWindowCallbackProc 取得窗口过程函数
SetWindowCallbackProc 设置窗口过程函数
GetWindowAdditionalData 取得窗口附加数据一
SetWindooAdditionalData 设置窗口附加数据一
GetWindowAdditionalData2
SetWindowAdditionalData2
GetWindowCaption 获取窗口标题
SetWindowCaption 设置窗口标题
InvalidateRect 使窗口给定矩形区域无效,将引发窗口重绘
GetUpdateRect 获取窗口当前无效区域外包矩形
ClientToScreen 客户区坐标转换为屏幕坐标
ScreenToClient 屏幕坐标转换为客户区坐标
WindowToScreen窗口坐标转换为屏幕坐标
ScreenToWindow
IsMainWindow判断给定窗口是否为主窗口
IsControl判断给定窗口控件
IsDialog断送给定窗口是否为对话框
GetParent获取父窗口句柄,主窗口父窗口为HWND_DESKTOP
GetMainWindowHandle获取某个窗口的主窗口句柄
GetNextChild取得下一个子窗口
GetNextMainWindow取得下一个主窗口句柄
GetHosting获取某个窗口的托管窗口
GetFirstHosted 取得某个主窗口的第一个被托管窗口
GetNextHosted 获取下一人被托管窗口
GetActiveWindow 取得当前活动窗口
SetActiveWindow 设置当前活动窗口
GetCapture获取当前捕获鼠标的窗口
SetCapture捕获
ReleaseCapture释放
MoveWindow移动/改变窗口大小
ScrollWindow滚动窗口客户区内容

你可能感兴趣的:(MiniGUI)