I am trying to check if a ToolStripButton is enabled on a ToolStrip within some application.
How do I do that?
Note: i am trying to do this within my own program (the ToolStrip is on a different app that I have access to (code))
Note: i was trying to use Spy++ to find the handle of the button but with no success, it recognizes the toolstrip+button as a whole component, on the other hand if you have a ToolStripComboBox on the ToolStrip, the ComboBox has a handle... i was thinking of using SendMessage to accomplish my task.
Any will be much appreciated!
How do I do that?
Note: i am trying to do this within my own program (the ToolStrip is on a different app that I have access to (code))
Note: i was trying to use Spy++ to find the handle of the button but with no success, it recognizes the toolstrip+button as a whole component, on the other hand if you have a ToolStripComboBox on the ToolStrip, the ComboBox has a handle... i was thinking of using SendMessage to accomplish my task.
Any will be much appreciated!