vs 2013 Button context modify

Today I show how to modify the context of a button.

We uesed two buttons to implement a switch on/off before, because we did not know how to modify a button context.

Here we are showing a method for you learning:

 SetDlgItemTextA(IDC_BUTTON, "Open"); 

using the function  SetDlgItemTextA you can modify your dialog context.

Thank you.

End.

猜你喜欢

转载自www.cnblogs.com/lumao1122-Milolu/p/12738245.html