> > > hello to every body,
> > > any one can tell me how can i get HDC of control in my form for exemple, an imagecontrol ???
> > >
> >
> > You can't. VFP controls are images and not resources like they are in Visual Basic. There are no VFP objects with hDC properties. Only VFP forms have a hWnd. What exactly do you want to do? If you really need a hDC, then use an active x control; most of them have hDC and hWnd.
> > --
> > Eric den Doop
> >
www.foxite.com - The Home Of The Visual FoxPro Experts
>
> how can i make showing my image and get it the handle
Like I said, you need to use an active x control. There are one or two controls available by default on a VFP development system. But what do you want to do with the handle?
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts