Skip to main content
1-Visitor
September 21, 2006
Question

Notification for [File->Close Window] action

  • September 21, 2006
  • 3 replies
  • 937 views
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
    September 22, 2006
    TIA,
    I can see your frustration. I have not accomplished this but I would
    September 22, 2006
    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.

    1-Visitor
    September 22, 2006
    @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.