Print Page | Close Window

how to have PNG file on CXTPControlStatic control?

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=14176
Printed Date: 22 June 2025 at 2:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to have PNG file on CXTPControlStatic control?
Posted By: Pariksh*t
Subject: how to have PNG file on CXTPControlStatic control?
Date Posted: 29 April 2009 at 7:11am
hi,
how to have PNG file on CXTPControlStatic control?
i tried this code which is not working

CXTPControlStatic* pControlListBoxInfo = (CXTPControlStatic*)pGroup->Add(new CXTPControlStatic(), ID_GALLERY_UNDO);
 pControlListBoxInfo->SetWidth(40);
 pControlListBoxInfo->SetHeight(30);
 pControlListBoxInfo->SetFlags(xtpFlagSkipFocus);
 pControlListBoxInfo->SetIconId(IDB_GEAR); // IDB_GEAR ID of PNG



Replies:
Posted By: ABuenger
Date Posted: 29 April 2009 at 8:56am
Markup? Not sure if CXTPControlStatic supports markup.



-------------
Codejock support


Posted By: znakeeye
Date Posted: 29 April 2009 at 10:22am
C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v13.0.0\Samples\ToolkitPro\MarkupSample\MarkupStatic.cpp
 
...


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: Pariksh*t
Date Posted: 29 April 2009 at 10:57pm
thanx for the reply
i want to have PNG file on static control in ribbonbar...


Posted By: Oleg
Date Posted: 30 April 2009 at 2:12am
Hi,
 
Check last Tab in Samples\Ribbon\RibbonControls .


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



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