CToolBar ... How to ?

  • Thread starter Thread starter DaniloAlmeida
  • Start date Start date
D

DaniloAlmeida

Hi all, In Using the VC.NET 2003 and I'm trying to create a new program SDI
with a ToolBar object,

My problem is when the toolbar is created the buttons are disabled and I
want to know how can I enable the buttons

Very Thanks,

Danilo Almeida.
 
DaniloAlmeida said:
Hi all, In Using the VC.NET 2003 and I'm trying to create a new program SDI
with a ToolBar object,

My problem is when the toolbar is created the buttons are disabled and I
want to know how can I enable the buttons

If a given button has a command handler associated with it, it will be
enabled. If it has an update handler associated with it, that handler
determines the button's state. For more, start here:

http://msdn.microsoft.com/library/d..._core_Message_Handling_and_Mapping_Topics.asp

In particular, see:

http://msdn.microsoft.com/library/d...e_how_to_update_user.2d.interface_objects.asp
 
Back
Top