level 2
uusyz
楼主
这个应该是显示屏的亮度调节函数吧,但是我不知道怎么写,希望你们能帮我看看,谢谢!
以下是官方的说明:
acSetMonitorBrightness(monitorhandle, x, y, value)
Parameters:
monitorhandle: The handle to the monitor
x: the x coordinate of the point used to locate the monitor
y: the y coordinate of the point used to locate the monitor
value: The new value to set as the brightness
Returns: integer (1 for success, -1 for failure)
Comments: Sets the brightness value of the first physical monitor associated with the monitor handle (not supported prior to Vista nor on some displays, see change log for details)
2017年03月06日 09点03分
1
以下是官方的说明:
acSetMonitorBrightness(monitorhandle, x, y, value)
Parameters:
monitorhandle: The handle to the monitor
x: the x coordinate of the point used to locate the monitor
y: the y coordinate of the point used to locate the monitor
value: The new value to set as the brightness
Returns: integer (1 for success, -1 for failure)
Comments: Sets the brightness value of the first physical monitor associated with the monitor handle (not supported prior to Vista nor on some displays, see change log for details)