Hi!
In help - it is recommendation only, I guess. I'm not sure it will work in VFP, but probably yes, specially in the Paint event of form, that probably called during WM_Paint windows event by VFP ;)
>Vlad,
>
>The SDK documentation for BeginPaint contains the following extract:-
>
>"An application should not call BeginPaint except in response to a WM_PAINT message."
>
>Your code would not be responding to a WM_PAINT message.
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.