Print Page | Close Window

is it possible to replicate this somehow?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19612
Printed Date: 16 November 2024 at 3:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: is it possible to replicate this somehow?
Posted By: dennisV
Subject: is it possible to replicate this somehow?
Date Posted: 27 March 2012 at 7:12am
Hello!

Is it possible to replicate the style of control (Windows explorer) as in the image - that is, to have an image in front that takes up two rows (e.g. one row with preview or one row and the second is empty)? I know how to draw the image into the control, but I can't seem to make it stretch properly across two rows like that.


Thanks!


-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



Replies:
Posted By: ABuenger
Date Posted: 28 March 2012 at 8:12am
Hi,

don't use two rows. You can use markup and a line break to break the text into two rows/lines.

An other option would be to merge the two items of the icon.

Andre



-------------
Codejock support


Posted By: dennisV
Date Posted: 28 March 2012 at 8:30am
Thanks for the reply! I haven't explored markup yet :(

Can you please provide a sample markup that has an image placeholder (I'll draw one dynamically when the item is painted) and also has two rows of text?

Also, will that work with expanding items (those that have a tree in the report view)?


-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net