WxMac Catch Click outside Modal Window

Stefan Csomor csomor at advancedconcepts.ch
Wed Oct 18 22:01:57 PDT 2006


Hi

> #if TARGET_CARBON
>         SetWindowModality( (WindowRef) MacGetWindowRef() , 
> kWindowModalityAppModal , NULL ) ; #endif
> 
> But after I can't catch click events (left, right) outside 
> window (only mouse move) only the beep is heared !
> 
> I setup CaptureMouse and in MSW, I don't have this problem...
> 
> Any body have solved this problem ?

yes, that's what the modality calls are handling, avoiding mouse clicks
behind the current front window. What exactely are you using these mouse
events for ? picking some data from the clicked-onto points ?

Best,

Stefan





More information about the wx-users mailing list