Re: OLE Automation and Window handles
- From: "Jan" <nomail@xxxxxxxxxxx>
- Date: Sat, 1 Oct 2005 17:56:19 +1000
Dan,
Sounds like DYMO. I started playing with a formset, so that the main form
could hanle all the properties and buttons and the "subform" could be used
to draw the preview, got side tracked though and ended up using the IAddIn
interface to view the labels via the DYMO gui. Post back if I'm on the right
track and we can swap stories.
Rgds
Jan
"Dan" <Dan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D1B8F8C5-0B3B-453C-AB4B-6D6FA9F173D3@xxxxxxxxxxxxxxxx
>I am working with automating some barcode label software in VFP 9. One of
> the OLE functions is used to draw a preview image of the barcode label in
> an
> image object.
>
> The parameter of the function requires a handle to the control that I want
> to paint the image in. This can be accomplished in Visual Basic by using
> the
> hWnd property of the image control. VFP does not have this functionality
> that I am aware of for controls.
>
> 1.) Is it possible to use this method of painting in an image control in
> VFP
> 9?
>
> 2.) If not, is it possible to use a form and draw the label preview
> directly
> on the form using the form's hWnd propery, maybe by using GDI?
>
> Thanks for any help you can give.
>
>
>
.
- Prev by Date: Re: update conflict
- Next by Date: Re: Object class is invalid for this container
- Previous by thread: Re: update conflict
- Next by thread: Re: OLE Automation and Window handles
- Index(es):