Veto notebook page changes - how to work around Window's issues

Hi,

Please don’t tell me not to run Windows - I am an RHCE - I do know
better! I want to veto a NoteBook page change in an application which will
ultimately be linux hosted. For now I need to deliver test versions to
the client as Window’s exe’s.
I found this section in the docs whilst playing with code that wouldn’t
work…
So how do I find out what page was selected, so that I can veto?
thanks
timb

···

:slight_smile:
NB: under Windows, GetSelection() will return the same value as
GetOldSelection()
when called from EVT_NOTEBOOK_PAGE_CHANGING handler and not the page
which is
going to be selected.


-- Tim Burgess
IT Consultant
RedHat Certified Engineer
TBITC Pty Ltd
Mobile 0422 942 972

timb@tbitc.comhttp://www.tbitc.com