Hi All,
I'm currently making my first dialog application in VC++ and I am learning several things all at once and its becoming a bit overwhelming. I'm making an application that connects to a serial device and gets data from it. What I want to do is have a button that normally displays 'Connect' on its caption. When the user clicks it will obviously connect to the device, but what I want to do is change the caption on the button to say 'Disconnect', so that when the user clicks again it will do just that!
Any help on what functions I should look at would be appreciated!
Thanks,
Mark
I'm currently making my first dialog application in VC++ and I am learning several things all at once and its becoming a bit overwhelming. I'm making an application that connects to a serial device and gets data from it. What I want to do is have a button that normally displays 'Connect' on its caption. When the user clicks it will obviously connect to the device, but what I want to do is change the caption on the button to say 'Disconnect', so that when the user clicks again it will do just that!
Any help on what functions I should look at would be appreciated!
Thanks,
Mark