Hi!
It is already at the tek-tips site. I sent it here too.
>Cool! I think you should put it in FAQ.
>
>>Hi!
>>
>>Sergey, this approach is obsolete. Why use external FLL file when there is built-in VFP approach to define code for events in run-time?
>>
>>
>>DEFINE CLASS MyHook AS Custom
>> oScreen = _Screen
>>
>> PROCEDURE oScreen.Resize
>> oScreen.MyContainer.ScreenResized
>> ENDPROC
>>ENDDEFINE
>>
>>
>>
>>_Screen.AddObject("oHook","MyHook")
>>
>>
>>HTH.
>>
>>P.S. I added this comment to the file download you have mentioned.
>>
>>>>Hi
>>>>
>>>>I have a container on _screen, I need to trigger the container.resize when resize the screen. It's possible?
>>>>
>>>>TIA
>>>See file#
9676 'Visual FoxPro Desktop Events'
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.