We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Adding handling BarItem click events in C++

Hello, How do I add BarItem Click events in C++? The Tutorial Help tells me how to do it for C# and VB but not how to do it for C++. Is there a way of doing it simular to those of C# and VB or do I have to program manual? Kind Regards Herwert.

1 Reply

AD Administrator Syncfusion Team March 11, 2005 05:07 PM UTC

Hi Herwert You can add the event handler in the designer like in C# or by code like this: Add this at least after the InitializeComponent() member this->barItem1->Click += new System::EventHandler(this, barItem1_Click); private: System::Void barItem1_Click(System::Object * sender, System::EventArgs * e) { } Regards Thomas >Hello, > >How do I add BarItem Click events in C++? The Tutorial Help tells me how to do it for C# and VB but not how to do it for C++. Is there a way of doing it simular to those of C# and VB or do I have to program manual? > >Kind Regards >Herwert.

Loader.
Live Chat Icon For mobile
Up arrow icon