Skip to main content
1-Visitor
Sep 21, 2006 11:39 PM UTC
Question

Notification for [File->Close Window] action

Anyone knows if a notification for [File->Close Window] exists?. I tried all the model related and window-change notification types, but none of those are triggered by a window close. Also, I don't see anything obvious in the ProNotifyType enum corresponding to this.

TIA.

    3 replies

    13-Aquamarine
    Sep 22, 2006 11:50 AM UTC
    TIA,
    I can see your frustration. I have not accomplished this but I would
    Translate
    FV_01
    Sep 22, 2006 1:46 PM UTC
    Hello all,

    Notification could by done by using technique described in:
    file://<proloadpoint>/protoolkit/protkdoc/manual0/menus.htm#476
    for ProMenubuttonPreactionSet() and ProMenubuttonPostactionSet(). The
    manual provides an example : 'Example 11: Asking for Confirmation on
    Quit Window'
    HIH.
    Feliks.

    Translate
    1-Visitor
    Sep 22, 2006 10:51 PM UTC
    @Patrick,
    PRO_WINDOW_CHANGE_POST was the first thing I tried. No luck.

    @Feliks,
    Thanks for the info. Your suggestion might work. I will know as soon as I find out the button name for this.
    Translate