Print Page | Close Window

CXTListBase::SetRowColor bug.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2451
Printed Date: 08 November 2025 at 9:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTListBase::SetRowColor bug.
Posted By: rjgraham
Subject: CXTListBase::SetRowColor bug.
Date Posted: 24 June 2005 at 11:44pm

I was having problems setting list row color until I stepped through the XTPro source and found this:

void CXTListBase::SetRowColor(int iRow, COLORREF crText, COLORREF crBack)

{

[...snip...]

}

void CXTListBase::SetRowColor(ROWCOLOR* lpRowColor)

{

SetRowColor(lpRowColor->crText, lpRowColor->crBack, lpRowColor->iRow);

}

Notice that the args don't match, although the call succeeds.

This is version 9.60.1

 

-Randy

 




Replies:
Posted By: rjgraham
Date Posted: 24 June 2005 at 11:54pm

Update:

I try calling,

 SetRowColor(int iRow, COLORREF crText, COLORREF crBack)

directly but the row color does not change.

What gives?

-Randy

 

 




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