Prgramatic Control of Toolbar
-
Hi, I would like to control the toolbar (highlights and presses) by using the keyboard. (Left/Right and Enter). I can do all the UI of it, but i would like to simulate a button press ( and have it call thre relevant function ) right now all that I can do it make it look like the button is being pressed. Any Ideas? Cheers Asim. Asim Hussain e: asim@jawache.net w: www.jawache.net
-
Hi, I would like to control the toolbar (highlights and presses) by using the keyboard. (Left/Right and Enter). I can do all the UI of it, but i would like to simulate a button press ( and have it call thre relevant function ) right now all that I can do it make it look like the button is being pressed. Any Ideas? Cheers Asim. Asim Hussain e: asim@jawache.net w: www.jawache.net
-
I'm using the MFC version of the function CToolBarCtrl::PressButton( int nID, BOOL bPress = TRUE ); It does give the UI of a button in a pressed state. How do I actually call the function associated with a toolbar button (without clicking on it with the mouse button)? Cheers Asim Asim Hussain e: asim@jawache.net w: www.jawache.net