P
Purple_Apple
Guest
Hello. I develop С++ Win32 application (on pure Win32, but not on MFC!). The application has a toolbar with two buttons: "button A" and "button B". I need to make the "button A" disabled when it is clicked. Then, its handler must perform some operation. And, upon the successful completion of this operation, "button B" should become enabled. If, then, I click on "button B", then it should become disabled and, then, its handler should perform some operation. Upon successful completion of this operation, "button A" should become enabled. And so on, in that order. I reviewed a lot of material on the Internet, but did not find anything thorough about the dynamic change of the state of toolbar buttons in the application on Win32. I came across materials concerning the MFC, but I do not need them. I need examples on pure Win32. If you have examples (on Win32) of what I need, then please provide them in your answer or give a link to them. I will be very grateful for your help. Thanks in advance.
Continue reading...
Continue reading...