Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - xtpControlLabel in designer
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

xtpControlLabel in designer

 Post Reply Post Reply
Author
Message
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Topic: xtpControlLabel in designer
    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.



Edited by Ark42
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.