GetClientRect用法
来源:互联网 发布:ktv小姐怎么出台 知乎 编辑:程序博客网 时间:2024/06/14 06:50
GetClientRect用于取得指定窗口的客户区域大小。
顺便说一句,每个窗口区域可分为两部分,
用于显示内容的区域叫Client区(客户区),
NonClient(非客户区)用于显示命令按钮及窗口标题等。
画客户区消息是由WM_PAINT发出的,
而非客户区的绘图是由WM_NCPAINT发出的。
例如:
Void _cbButtonInfo(WM_MESSAGE* pMsg){ //按键回调函数GUI_RECT Rect;WM_GetClientRect(&Rect); //获取按键矩形区域GUI_SetColor(GUI_GREEN); //设置画笔颜色GUI_DrawRoundeFrame(Rect.x0, Rect.y0, Rect.x1, Rect.y1,5,5);//画圆角矩形(按键的外框)}
阅读全文
0 0
- GetClientRect用法
- GetClientRect
- GetClientRect
- GetWindowRect,GetClientRect,ScreenToClient MoveWindow SetWindowPos 用法
- GetWindowRect,GetClientRect,ScreenToClient MoveWindow SetWindowPos 用法说明
- GetWindowRect,GetClientRect,ScreenToClient MoveWindow SetWindowPos 用法说明
- GetClientRect 函数
- VC++ GetClientRect
- GetClientRect, GetWindowRect
- GetWindowRect,GetClientRect
- GetWindowRect GetClientRect
- GetClientRect / ClientToScreen
- GetWindowRect & GetClientRect
- ::GetWindowRect ::GetClientRect
- GetWindowRect GetClientRect
- ScreenToClient GetClientRect
- GetClientRect & GetWindowRect 区别
- GetClientRect,ClientToScreen,ClipCursor
- 1029. 旧键盘
- hrbust 1631 技能修炼 (裸拓扑)
- placeholder兼容IE8代码
- linux上准确kill应用的进程
- 实现UITextView的placeholder及限制输入次数(干货)
- GetClientRect用法
- FTP虚拟用户名模式
- Spark的广播变量和累加变量
- java--泛型擦除
- php 文件写入 文件最加内容
- vue界面传值(子父组件)
- DB2数据库SQL1366N错误处理
- Android自定义菊花进度条
- UIFont的lineHeight与pointSize