How do I draw directly to my forms control?

How do I draw directly to my forms control?

Post by mort » Wed, 28 Jun 2006 17:47:55


Hi!

I have some C code that does some drawing.
It takes a pointer to the memory area where it's output images shall be
drawn.
I want write a control which will use the C code to generate it's contents.
I'm new in this area of programming, both imaging and forms controls.
I've started out by using the code to draw on an Image object by using
LockBits and pass the resulting pointer to the C code. Is this the way to do
this?
Do I use that code and just feed the created image to my control in some
way?

Any help appreciated!

/mortb
 
 
 

1. My I's are coming up i's. (lower case)

2. How to Draw Lines directly on the form

I have an external VB6 program that captures signatures from a touch pad by
drawing directly on the from or a VB picture box. It uses the VB Pset and
Line methods of the form and/or picture box object to do the actual drawing.

Is there any way to do this in access using either the Image control or on
an Access form itself? As far as I know in Access 2K neither of these
controls have these methods available. I realize I may still have problems
getting Access to play nice with the Active X control for the touch pad, but
unless I can actually draw the signature I am pretty much stuck using the
external VB program.

Ron W

3. GDI+ isn't drawing directly to Form-Canvas

4. Drawing objects in Access 2003 - can it be done on forms?

5. Automating image capture directly into form control

6. Can PHP control a form value directly

7. Message box breaks owner draw controls in .NET controls used as ActiveX controls (again)

8. Speeding up the drawing of forms and their controls...

9. Slow Form Controls Drawing

10. csharp ::How to draw control on a form by reading a xmlfile

11. Drawing a control outside of a form boundary

12. Detect a form/control is not totaly drawn on the screen

13. Make control draw on top of other form

14. Form in a Control drawing

15. How make Windows form controls draw all at once so doesn't load "ugly"?