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++ Library support » TabCtrl » How to use TabBar CancelClose/WhenClose?
Re: How to use TabBar CancelClose/WhenClose? [message #46510 is a reply to message #46508] Wed, 18 May 2016 15:15 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
It is not me using the highlight. TabBar is the one using it, when it handles the middle mouse click for tab closing. Which reminded me about the close box, so I tested using the box and it did not work for me because I had an index based API and TabBar is key based. I fixed it now...

You method with GetCurrentCtrl, pointers and memory management is a bit not U++ enough for me.

Which reminds me, I need to replace the box icon with a close icon that has an "x" inside. Closing a tab with a box is not intuitive. I learned from you how you can easily change the boxes. Thank you!

I solved the linking errors. Your package does not use the TabBar package. You need to add it and it works!

Thanks!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Coloring tab
Next Topic: How to plot image in one tab based on TabCtrl
Goto Forum:
  


Current Time: Mon May 13 15:56:39 CEST 2024

Total time taken to generate the page: 0.02616 seconds