Very nice indeed. Maybe it's now possible to remove some redundant logic from GTWVG. At least I hope. Pritpal do you see a chance?
Brgds, Viktor On Fri, Aug 21, 2009 at 3:33 PM, Alex Strickland<s...@mweb.co.za> wrote: > Przemyslaw Czerpak wrote: > >> In Harbour user event handler receives as 1-st parameter event number >> and then ole parameters. So above functionality can be easy implemented >> as: >> >> oAx := WIN_AxGetControl( hWnd, ; >> {|event,...| myEventHandler( obj, event, ... ) >> } ) >> >> function myEventHandler( obj, event, ... ) >> switch( event ) >> case 1: >> return obj:terminalDSPEvent( ... ) >> case 2: >> return obj:infoEvent( ... ) >> case 3: >> return obj:exceptionEvent( ... ) >> endswitch >> return NIL > > Awesome. Thank you. I think this is the last step for many people to allow > *reliable and safe* access to many 3rd party ActiveX controls in Windows. > > Regards > Alex > > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour