Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The ActivexCommandButton should change its property BackColor when the left mouse button is clicked.How to change this property in Visual studioC++ 2010.
Posted

1 solution

I got the solution that is
first add the new class of installed templates type(in 2008) and select mfc class for activex control and select the commandButton in the list.

the header(.h) and .cpp of the commandbutton is created.

create a variable/variable pointer for command button and variable.put_BackColor(RGB(250,0,0));
variablepointer->put_BackColor(250,0,0));
 
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