![]() |
How can I Change the Icon of the toolbar button? |
Post Reply ![]() |
Author | |
Makarand ![]() Senior Member ![]() ![]() Joined: 27 February 2007 Location: India Status: Offline Points: 140 |
![]() ![]() ![]() ![]() ![]() Posted: 29 September 2007 at 5:34am |
My previous code is as follow-->
_________________________________________________________________________________ CXTImage* pImage =XTImageManager()->GetImage(IDMMAGNETFULL,TRUE); XTImageManager()->AddIcon(IDMMAGNET,pImage->GetIcon(),m_TBImgSize,TRUE,TRUE); _________________________________________________________________________________ Please give me replacement code to set image to the button. Please help me ! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Set Icons to XTPImageManager(). See methods of CXTPImageManager class.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Makarand ![]() Senior Member ![]() ![]() Joined: 27 February 2007 Location: India Status: Offline Points: 140 |
![]() ![]() ![]() ![]() ![]() |
How to add Bitmap to Resource?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
???
See [app].rc file - you can add them manually or using visual studio resource editor.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Makarand ![]() Senior Member ![]() ![]() Joined: 27 February 2007 Location: India Status: Offline Points: 140 |
![]() ![]() ![]() ![]() ![]() |
What is replacement function of XTImageManager()->AddIcon
XTImageManager()->AddIcon(IDMSTATUSHISTORYERROR,ilTemp->ExtractIcon(1), m_TBImgSize, TRUE, TRUE); |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
XTPImageMaanger()->SetIcon.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |