Why the paint event dosn't work on the gmapcontrol?

Topics: Windows Forms
Jan 21, 2011 at 10:29 AM
Edited Jan 21, 2011 at 10:31 AM

Hi.

 

I'm trying to draw a image on a gmapcontrol using gdi, a png image with alpha.

This is an example:

http://picasaweb.google.com/lh/photo/Uc7Ksq6FWCCj6mX48n86Sw?feat=directlink

 

When the map control is resized the pirate should be resized proportionally, always docked to the left of the map, this part is easy. However, the paint event doesn't work. So i don't know a way to draw the image.

Do you know any solution?

 

Thank you very much.

 

 

Jan 21, 2011 at 10:42 AM

all painting you can do by overriding void OnPaintEtc

Jan 21, 2011 at 11:38 AM

Wooowww. You are a master. It works perfectly.

 

Thank thank you very much. xxxx

Jan 21, 2011 at 11:53 AM

;}