displaying resizable image on a dialog |
Post Reply |
Author | |
psih128
Newbie Joined: 12 March 2009 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 12 March 2009 at 9:26am |
Hi
What is a proper way to display a PNG image on a dialog? I'm working with a CXTResizeFormView view and I have a number of images and controls on the form. Currently I use CXTPGraphicBitmapPng to load PNG images and draw them in OnPaint method. Is it possible to display each image using a separate control, so I could use SetResize with these controls. Thanks Anton |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Create class derived from CStatic - move this OnPaint code to this class and add Statics in your dialog template.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |