Menu erase drawn graphics?

  • Thread starter Thread starter nobody
  • Start date Start date
N

nobody

There is no event for when a menu closes that you
can use to redraw graphics on a picturebox, panel, etc.

How do I get the drawn graphics back after a menu closes?
Keep in mind that you don't always click an item, sometimes
you click outside a menu to close it. When this happens,
drawn graphics are gone under the menu.

What to do? what to do?

comments?
 
* nobody said:
There is no event for when a menu closes that you
can use to redraw graphics on a picturebox, panel, etc.

How do I get the drawn graphics back after a menu closes?
Keep in mind that you don't always click an item, sometimes
you click outside a menu to close it. When this happens,
drawn graphics are gone under the menu.

Doesn't the picturebox's 'Paint' event fire?
 
Doesn't the picturebox's 'Paint' event fire?

I'm using a panel to draw on. I did put a call to redraw
my borders in the panels "Paint" event and it did the
trick.

Heck, you guy are helping me build my next version
under VB .Net. Will I have to pay you royalties?

nobody
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

What event for graphics methods 5
GDI+ persistence 4
Graphic in a table 1
VB 2005 graphics concepts 12
OwnerDrawn Menu Items 1
paint question 1
Picturebox coordinates 1
Accessing Sub Menu Items 5

Back
Top