Print Page | Close Window

Two questions

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=4700
Printed Date: 29 September 2024 at 3:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Two questions
Posted By: znakeeye
Subject: Two questions
Date Posted: 02 August 2006 at 10:28am
Hi!
1) A report control with multiline items looks fine with the DT_WORDBREAK style. However, in edit mode the newline characters are drawn as squares. How can I enable multiline support in edit mode?
 
2) Is it possible to view bitmaps or simply owner-drawn cells in the report control? Icons can easily be loaded, but I need to fill the whole cell with image information. Thus, a 16x16 image is not enough.
 
Thanks in advance!



Replies:
Posted By: sserge
Date Posted: 02 August 2006 at 1:26pm
Hi,

1) For the column with multiline rows setup:
pColumn->GetEditOptions()->m_dwEditStyle |= ES_MULTILINE | ES_AUTOVSCROLL;
So, newline characters defined as '\r\n' will be proceeded correctly.

2) You'll have to implement your own CXTPReportRecordItem - derived cell class and owerwrite it's Draw method.

--
WBR,
Serge


Posted By: Makarand
Date Posted: 12 May 2011 at 8:44am
I am able to set the multiline property by applying
pColumn->GetEditOptions()->m_dwEditStyle |= ES_MULTILINE | ES_AUTOVSCROLL;

but ES_AUTOVSCROLL is not setting. Please see attached screenshot.


any other way to set it?

-Mak



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