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 » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Showing Images in a Child Frame
Re: Showing Images in a Child Frame [message #17724 is a reply to message #17720] Wed, 27 August 2008 16:01 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
What do you mean by child window? Do you mean a widget/control/UI element that is placed inside your TopWindow?

If the answer is yes, you need to create a custom control and override it's Paint method, then place that control normally inside you window and it will paint itself. Each widget, including TopWindow only handles it's own painting via the Paint method. Creating the custom control is simple, just choose you parent class for it, something like StaticRect. If you do not want to paint anything, just want to display an Image loaded from the disk, you do not need to create a custom control, just use one that is capable of displaying an image and insert that in you window.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Premultiply - Wrong expression
Next Topic: EXIF data access
Goto Forum:
  


Current Time: Sun May 19 06:34:32 CEST 2024

Total time taken to generate the page: 0.00980 seconds