Print Page | Close Window

CXTHyperLink doesn't redraw

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=7329
Printed Date: 20 May 2024 at 12:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTHyperLink doesn't redraw
Posted By: Kayako
Subject: CXTHyperLink doesn't redraw
Date Posted: 07 June 2007 at 6:51pm
I'm using a CXTHyperLink on top of an owner-drawn list box.

The hyperlink is configured (colors set, text set) for each WM_DRAWITEM the item below it receives.

However, if my window is not the foreground window, the hyperlink literally disappears (it's there, because I can see it with spyxx but it doesn't appear)

Invalidating/redrawing/sending fake mouse messages/timer messages, movewindow(), setwindowpos() all do NOTHING to remedy this.

I know it is a problem with the XTHyperLink because if I replace it with a CStatic, this doesn't occur.

Suggestions?



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