Hi everyone,

My application is querying data about positions of "things" in a building. I have an image map and i overlay the icons of this things over the map.

Everything ok until suddently the Invalidate() method of Picturebox stopped working. It does not raise the picturebox_Paint event.

Neither Update() is working, only Refresh() but it isn't what i want.

Any ideas of this behaviour? Spent two days with this.

Many thanks,
Ferran.

Hi gbrunete, welcome on Daniweb!
Invalidate does not alwyas raises a Paint event immidiately. Use Refresh in that case.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.