>Is there a poss. use the gdi32 with forms instead off hwnd-control.
>I would like to write a wrapper around the gdi32 calls.
I'm not sure what you mean here, but VFP forms have their own window handle. There are two ways to retrieve it: 1.) Via API calls (which can be tricky); 2.) Foxtools: lnhwnd = _WhTohWnd(_WFindTitl(Form.Caption)). The latter, of course, requires that the library be loaded. Second, both it and the API call method can return the wrong value if forms with identical captions are present.
George
Ubi caritas et amor, deus ibi est