Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I wanna change my screen brightness in my c++ program. How can I do it?

What I have tried:

I am using visual studio and tried some library but not able to get c++ program to do it.
Posted
Updated 11-Oct-18 1:02am
Comments
Richard MacCutchan 10-Oct-18 13:38pm    
Please show us the code that you have tried, and explain what happens when you run it.
Rick York 11-Oct-18 0:34am    
You should repost this as a solution since it can solve the problem.

1 solution

A quick Google Shows me this: SetMonitorBrightness function | Microsoft Docs[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900