摘要: HDC hdc = ::GetDC(m_hWnd); RECT rect = { 10,10,50,100 }; RECT rect1; HBRUSH hbr; hbr = CreateSolidBrush(RGB(0, 0, 255)); SelectObject(hdc, hbr); BOOL 阅读全文
posted @ 2023-04-15 16:32 天子骄龙 阅读(52) 评论(0) 推荐(0)
摘要: RECT rect = { 10,10,50,100 }; BOOL b=SetRectEmpty(&rect); //将矩形各个坐标设置为 0 /* 参数1:LPRECT lprc 指向 RECT 结构的指针 返回值:如果该函数成功,则返回值为非零值。如果函数失败,则返回值为零 */ 阅读全文
posted @ 2023-04-15 16:24 天子骄龙 阅读(29) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-04-15 12:37 天子骄龙 阅读(0) 评论(0) 推荐(0)
摘要: HDC hdc = ::GetDC(m_hWnd); RECT rect = { 10,10,50,100 }; HBRUSH hbr; hbr = CreateSolidBrush(RGB(0, 0, 255)); SelectObject(hdc, hbr); int f = FrameRect 阅读全文
posted @ 2023-04-15 08:07 天子骄龙 阅读(99) 评论(0) 推荐(0)
摘要: HDC hdc = ::GetDC(m_hWnd); RECT rect = { 10,10,50,100 }; HBRUSH hbr; hbr = CreateSolidBrush(RGB(0, 0, 255)); SelectObject(hdc, hbr); int f = FrameRect 阅读全文
posted @ 2023-04-15 07:55 天子骄龙 阅读(152) 评论(0) 推荐(0)
摘要: HDC hdc = ::GetDC(m_hWnd); RECT rect = { 10,10,50,100 }; HBRUSH hbr; hbr = CreateSolidBrush(RGB(255, 0, 0)); SelectObject(hdc, hbr); int f = FrameRect 阅读全文
posted @ 2023-04-15 07:42 天子骄龙 阅读(109) 评论(0) 推荐(0)
摘要: HDC hdc = ::GetDC(m_hWnd); RECT rect = { 10,10,50,100 }; HBRUSH hbr; hbr = CreateSolidBrush(RGB(255, 0, 0)); int f = FrameRect(hdc, &rect, hbr);//绘制矩形 阅读全文
posted @ 2023-04-15 07:31 天子骄龙 阅读(63) 评论(0) 推荐(0)