easyx.h其他函数

1.BeginBatchDraw

void BeginBatchDraw():用于开始批量绘图模式。在执行之后,任何绘图操作将暂时不输出到图形窗口,直到调用函数flushBatchDraw或EndBatchDraw。

 

2.FlushBatchDraw

void FlushBatchDraw()
void FlushBatchDraw(
int left,
int top,
int right,
int bottom
):用于刷新未显示的图形
参数:
left
指定区域的左x坐标。
top
指定区域的顶部y坐标。
right
指定区域的右x坐标。
bottom
指定区域的底部y坐标

 

3.EndBatchDraw

void EndBatchDraw()
void EndBatchDraw(
int left,
int top,
int right,
int bottom ):结束批量绘制模式,刷新未显示的图形
参数:
left
指定区域的左x坐标。
top
指定区域的顶部y坐标。
right
指定区域的右x坐标。
bottom
指定区域的底部y坐标

1.GetHWnd

HWND GetHWnd():用于获取图形窗口的句柄

 

1.InputBox

bool InputBox(
LPTSTR pString,
int nMaxCount,
LPCTSTR pPrompt = NULL,
LPCTSTR pTitle = NULL,
LPCTSTR pDefault = NULL,
int width = 0,
int height = 0,
bool bHideCancelBtn = true
):用于以对话框的形式获取用户输入。

posted @   ImreW  阅读(241)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示