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 » TabCtrl CancelClose No longer work (as intended) (Some recent changes (could be as old as a few years) has broken its intention)
TabCtrl CancelClose No longer work (as intended) [message #55999] Sun, 10 January 2021 19:54 Go to previous message
Lance is currently offline  Lance
Messages: 526
Registered: March 2007
Contributor
I recently find that because TabCtrl::Paint calls TabCtrl::PaintTab which in turn calls IsCancelClose() etc, resulting in CancelClose gate being called at unintended times, CancelClose can no longer be use to accept user input to possibly cancel an unintended close action.

To see an example, just try to compile and run Bazzar/FileTabsExample, check the circled item and move your mouse a little bit.

index.php?t=getfile&id=6334&private=0

A few years back, I actually make use of this gate(CancelClose) to do some useful work. I am sad it's no longer working for unknown reason.

Can @mirek or @klugier possibly take some time to look into it?

Thank you!
  • Attachment: a.png
    (Size: 19.23KB, Downloaded 427 times)

[Updated on: Sun, 10 January 2021 20:05]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PROPOSAL] Adding GetCtrlGroup() method to TabBarCtrl.
Next Topic: How to dynamically add remove tabs
Goto Forum:
  


Current Time: Thu Apr 18 15:57:14 CEST 2024

Total time taken to generate the page: 0.03056 seconds