When I click on the closebox attached to a preview of window in Windows taskbar, it invokes standard On closebox event - that’s great, since I’d like to handle closing of some specific windows manually (especially kind of “main” windows, whose closing should lead to quiting whole application). I’d also like to attatch a confirm dialog there - sure I can, but if the application is not active at the moment, it doesn’t behave as I would be expecting - the desired dialog is opened, but as the application is not brought to front (it remains inactive in the taskbar), it’s seems like nothing happens until the application is activated manually.
It doesn’t seems to be standard behavior compared to other Win applications - these dialogs usually pops, when this taskbar closebox is clicked.
I’m not sure if this behavior should be treated like a feature request or even a bug. Is there any way, how to handle this issue? What I need is simply to activate whole application and bring it to front(not a single window within the appilication).
This concerns only SDI… The behavior is same both on v17 (17.246104) and v18 (Build 18.249194).