From: Dave R. <dav...@ma...> - 2002-06-19 19:35:25
|
> EVT_BUTTON( $frame, $button, \&test ); > EVT_BUTTON( $login_panel, $button, \&test ); the first argument passed to EVT_BUTTON appears as the first argument in the event handler test(). do you need access to $login_panel in this handler? passing in the frame instead would work. it is up to you how you do it, but it appears important in your situation to retain hold of $frame, or to be able to access it from anywhere. if you know the hierarchy, you should be able to GetParent() or GetGrandParent() from one window back to the frame. otherwise, find the right place to remember $frame and use it at your convenience. /dave |