Print Page | Close Window

Owner Draw Combo Question

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=3058
Printed Date: 04 October 2024 at 9:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Owner Draw Combo Question
Posted By: MichaelD
Subject: Owner Draw Combo Question
Date Posted: 18 October 2005 at 1:46pm
I have created an owner draw combo control in my toolbar following the example in the CustomThemes sample program. However, I also need to have the part in the combo's edit control be owner drawn as well (it doesn't have to be editable). Does anyone have any sample code that does this, or can you point me toward a solution or even tell me if it's possible?

Thanks in advance.



Replies:
Posted By: Oleg
Date Posted: 18 October 2005 at 2:22pm

In 9.80 was added virtual
void CXTPControlComboBox::DrawEditText(CDC* pDC, CRect rcText)

that can be overriden.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: MichaelD
Date Posted: 18 October 2005 at 4:38pm
Thanks for the quick reply, Oleg.



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