[AUI] Notifying user clicking the close button on a AUI managed window

Terry Farnham TerryF at PipeWorks.Com
Thu Aug 16 08:20:18 PDT 2007


I use these event handlers in my frames event handler table.

EVT_AUI_PANE_CLOSE(MyFrame::OnPaneClose) 
EVT_AUINOTEBOOK_PAGE_CLOSE(wxID_ANY, MyFrame::OnNotebookPageClose)

Hopefully they work for you also.

Regards,

Terry

-----Original Message-----
From: Mario Figueiredo [mailto:marfig at gmail.com] 
Sent: Thursday, August 16, 2007 5:29 AM
To: wx-users at lists.wxwidgets.org
Subject: [AUI] Notifying user clicking the close button on a AUI managed
window

Hello everyone,

I can't seem to find a way to be notified of mouse clicks on AUI managed
windows that where constructed with close buttons. I need this to
programatically uncheck the View menu item that controls that window
visibility.

What's the event that I can tap into that tells me when these close
buttons where clicked?

TIA,
Mario Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org





More information about the wx-users mailing list