Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTListBase::SetRowColor bug.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTListBase::SetRowColor bug.

 Post Reply Post Reply
Author
Message
rjgraham View Drop Down
Newbie
Newbie


Joined: 17 October 2004
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote rjgraham Quote  Post ReplyReply Direct Link To This Post Topic: CXTListBase::SetRowColor bug.
    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

 

Back to Top
rjgraham View Drop Down
Newbie
Newbie


Joined: 17 October 2004
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote rjgraham Quote  Post ReplyReply Direct Link To This Post 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

 

 

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.047 seconds.