Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 28 02:37:50 CEST 2024

Total time taken to generate the page: 0.06473 seconds