Print Page | Close Window

CXTPPropertyGridItemFont::GetFont

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=7870
Printed Date: 29 April 2024 at 5:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPropertyGridItemFont::GetFont
Posted By: mermaid
Subject: CXTPPropertyGridItemFont::GetFont
Date Posted: 24 August 2007 at 7:29am
/----------------------------------------------------------------/
CXTPPropertyGridItemFont*pFont=(CXTPPropertyGridItemFont*)pItem;

pFont->GetFont(&m_LabelFont);

/----------------------------------------------------------------/
 
When I use GetFont lfWidth field of the m_LabelFont structure is set to 0 despite selected style.
what`s the matter?
 



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