Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 To: khouidmi habib
  Where is khouidmi habib?
 algeria
 Algeria
 khouidmi habib
 Tags
Subject: RE: HDC very urgent urgent urgent
Thread ID: 22233 Message ID: 22238 # Views: 30 # Ratings: 0
Version: Visual FoxPro 6 Category: Win32API programming
Date: Saturday, April 12, 2003 12:12:20 PM         
   


> > > 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

COMPLETE THREAD

HDC very urgent urgent urgent Posted by jean albert @ 4/12/2003 10:43:38 AM
RE: HDC very urgent urgent urgent Posted by Eric den Doop @ 4/12/2003 11:04:05 AM
RE: HDC very urgent urgent urgent Posted by jean albert @ 4/12/2003 12:02:57 PM
RE: HDC very urgent urgent urgent Posted by Eric den Doop @ 4/12/2003 12:12:20 PM
RE: HDC very urgent urgent urgent Posted by jean albert @ 4/13/2003 11:52:05 AM
RE: HDC very urgent urgent urgent Posted by Eric den Doop @ 4/14/2003 7:47:51 AM