Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - is it possible to replicate this somehow?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

is it possible to replicate this somehow?

 Post Reply Post Reply
Author
Message
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post Topic: is it possible to replicate this somehow?
    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)
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.