Jump to content
Sign in to follow this  
NoName4ever

How to simulate Windows C++ SendMessage?

Recommended Posts

NoName4ever

Hi.

I need to turn off my monitor sometimes. The only way to do that is calling C++ function:

<C++>

SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);

</C++>

Can I do that in A3?

Thanks

Share this post


Link to post
Share on other sites
NoName4ever

Thx dude!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×