Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How to Draw without overriding Paint?
Re: How to Draw without overriding Paint? [message #38819 is a reply to message #38817] Sun, 20 January 2013 14:15 Go to previous messageGo to previous message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
Thank you!
It works!

Let's see if I got the logic right:

1) You create a Image object as member of the class so it lasts while TopWindow lasts.

2) You draw this Image object on Paint reserving its position.

3) On any event, like the click of the button you use ImageDraw to draw anything and finally you assign it to the Image object to show it on the screen, and finally call Refresh() to update the window.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can I select multiple directory/folders using FileSel?
Next Topic: Separate Database Access code
Goto Forum:
  


Current Time: Mon May 06 23:12:49 CEST 2024

Total time taken to generate the page: 0.02232 seconds