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 @ 2023-01-26 20:49  ImreW  阅读(190)  评论(0编辑  收藏  举报