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.

posted on 2020-04-20 15:47  Milo_lu  阅读(100)  评论(0编辑  收藏  举报

导航