Print Page | Close Window

CXTPControlFontComboBox Vs. CXTFontCombo

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=2950
Printed Date: 09 November 2025 at 12:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlFontComboBox Vs. CXTFontCombo
Posted By: AliRafiee
Subject: CXTPControlFontComboBox Vs. CXTFontCombo
Date Posted: 27 September 2005 at 4:07pm

When I got version 8.7 I ended up using a CXTFontCombo in my toolbar, because I couldn't get CXTPControlFontComboBox to work correctly.

Now that I have 9.7 I switched to CXTPControlFontComboBox, because CXTFontCombo was buggy when it came to drawing itself in the toolbar (I kept changin it's look from a regular combo to a flat combo, and back). But I miss the fact that CXTFontCombo would let you display the font sample in the drop down list.

Has anyone implemented this feature for the CXTPControlFontComboBox?

I am trying to do the same thing here.  I switched from CXTFontCombo to CXTPControlFontComboBox, becasuse CXTFontCombo has problems!

I am trying to put the DrawItem routine of CXTFontCombo in the CXTPControlFontComboBox, but no matter what I do, I can't get it to receive WM_DRAWITEM, WM_MEASUREITEM or WM_COMPAREITEM messages!

Any suggestions

Ali Rafiee




Replies:
Posted By: Oleg
Date Posted: 27 September 2005 at 11:54pm
See CustomThemes sample. It has derived CXTPControlFontComboBox

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


Posted By: AliRafiee
Date Posted: 28 September 2005 at 10:23am

Thank you very much.  Works beautifuly.

 

Ali




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