Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想构建一个自定义 Windows 按钮而不对其进行子类化。
我只是想绘制它,就像我会通过调用来绘制一个矩形FillRect()。
FillRect()
如何调用执行绘画的 BUTTON 窗口类注册的窗口过程?
更新
如评论中所述,我想绘制一个看起来像按钮的图像,而没有作为按钮的子窗口。
安德烈亚斯·雷杰布兰德:
旧式:DrawFrameControl. 新样式:DrawThemeBackground,DrawThemeText等。
DrawFrameControl
DrawThemeBackground
DrawThemeText