pub fn on_activate<F>(&mut self,f:F)->HandlerPriority<T> where F:Fn(&mut Event,&mut T) + 'static {
        self.h.push(Handler::new(WM_ACTIVATE, 0, 0, 0x8000, f));
		let l = self.h.len()-1;
		HandlerPriority::new(&mut self.h[l])
    }
// void OnActivate(UINT nState, BOOL bMinimized, CWindow wndOther)

void OnActivate(UINT nState, BOOL bMinimized, CWindow wndOther)
void OnActivate ( UINT nState BOOL bMinimized CWindow wndOther )
pub fn on_activate<F>(&mut self,f:F)->HandlerPriority<T> where F:Fn(&mut Event,&mut T) + 'static {
        self.h.push(Handler::new(WM_ACTIVATE, 0, 0, 0x8000, f));
		let l = self.h.len()-1;
		HandlerPriority::new(&mut self.h[l])
    }
pub fn on_activate < F > ( & mut self , f : F ) -> HandlerPriority < T > where F : Fn ( & mut Event , & mut T ) + ' static { self . h . push ( Handler :: new ( WM_ACTIVATE , 0 , 0 , 0x8000 , f ) ) ; let l = self . h . len ( ) - 1 ; HandlerPriority :: new ( & mut self . h [ l ] ) }
void OnActivate(UINT nState, BOOL bMinimized, CWindow wndOther)
void OnActivate ( UINT nState BOOL bMinimized CWindow wndOther )
&mut self
f
F
&mut self
f
F