Click to See Complete Forum and Search --> : GET RICH NOW !!!!!!!


The Man
July 13th, 2001, 07:31 AM
If you can answer this question, you could get rich... if I was a rich man. But I ain't, so if you have the answer to my problem I 'll be greatfull to you till the end of times.

So here is the question : Can anyone tell me how to draw an activeX control. I 've a PictureBox which I want to fill with an image of ActiveX control. The image should have the same size as the current size of the picturebox.
I know that an ActiveX control can draw itself (IVIewobject::Draw), but i don't know how to get the image (of a specific size) of an activeX control in VB.

A second question : Who can send me the VB declaration of the "OleDraw" API function.

Hope to hear from you soon, Thanx in advance!!!!

Raymond Koning


I'm looking for the VB declaration for the "OleDraw" api function. Who sends it to me

Hope to hear from you soon, Thanx in advance!!!!

Raymond Koning

Cimperiali
July 16th, 2001, 02:33 AM
Now, post again your question, with a different title (ie: How to build a UserControl), and do not mention money in it.

Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.