Print Page | Close Window

xtpControlLabel in designer

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=979
Printed Date: 01 July 2024 at 6:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: xtpControlLabel in designer
Posted By: Ark42
Subject: xtpControlLabel in designer
Date Posted: 25 July 2004 at 10:18pm

There is no option to set a control as a label, so I added I _T("xtpControlCustom"), _T("xtpControlLabel") to the end of the const LPCTSTR lpTypes[] declaration in CommandBarDesigner.h and recompiled. It works, but it also lets you pick custom control, which makes the control tiny and hard to select if you do that since it doesn't draw anything for it. Oh well, at least I can create labels in the designer now.

Oh I should mention its hard to click on the labels in the designer because of the flags the CXTPControlLabel sets in its ctor, but you can at least right click on them.




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