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 |
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.
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
|
|
|
Goto Forum:
Current Time: Thu Apr 18 15:57:14 CEST 2024
Total time taken to generate the page: 0.03056 seconds
|