Hi I'm new to visual C++ and I wanted to try to make something like this:
An application that connects to a service, and works asynchronously (so I can't have multiple functions that connect and disconnect when they are done) to perform the necessary tasks.
My current idea is to have a main function, that if(button pushed) then (do the necessary stuff). Will this work? If it does, how do I do a if(button pushed)? Currently, following the manual, the way I generate the button methods makes it so that when I push a button, it calls that Onbuttonpushed function. An example that shows how I can call OnButtonPushed function would really help me out. Thanks for taking a look guys!