oessimple 发表于 2010-8-24 14:00:38

更改背景亮度

用labwindows如何通过滑块控件更改背景亮度?

cvifan 发表于 2010-9-20 10:18:28

可以用属性设置改面板颜色。

cvifan 发表于 2010-9-20 10:18:37

Sets the value of a particular panel attribute.



Prototype

int SetPanelAttribute (int Panel_Handle, int Panel_Attribute, ...);

cvifan 发表于 2010-9-20 10:18:58

先获取滑块值,再根据值设定需要的颜色值

cvifan 发表于 2010-9-20 10:19:05

SetPanelAttribute (, ATTR_BACKCOLOR, );
页: [1]
查看完整版本: 更改背景亮度