U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Exit app from menu on control in Tab
Exit app from menu on control in Tab [message #58131] Fri, 25 February 2022 09:44 Go to previous message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
I want to exit the app from a menu-item on an ArrayCtrl::WhenBar-handler in a TabCtrl in the main window.

I am using
bar.Add("Exit", [&]{ Break(); }); --- bug - assertion fails

I also tried
bar.Add("Exit", [=]{ Break(); });
but get same error

What is the right way to do so?

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: i got it guys msvc does compile U++ gui
Next Topic: How to compile with MSVC... is it possible?
Goto Forum:
  


Current Time: Sun Apr 26 16:57:03 GMT+2 2026

Total time taken to generate the page: 0.00609 seconds