>Hi Borislav
>
>>It deserves it, trust me. Carlos did a great job.
>
>How do I tackle the clash of the titans (WinAPI declarations) for eg. my app object defines getforegroundwindow as _getforegroundwindow and the status bar control also wants getforegroundwindow as getforegroundwindow
>
>this unloads my declaration and thus my code fails.
>
>Please advise.
It's VFP bug. DECLARE clears previous declarations for the function with aliases if DECLARE w/o alias issued. To work around it, you have to do DECLARE w/o aliases first.
--sb--