Adding a Caption Button |
Post Reply |
Author | |
nguyena1
Groupie Joined: 28 November 2005 Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 28 November 2005 at 4:17pm |
I'm just trying to add a caption button to all windows. I followed the example docking containers. m_arrCaptionButtons.Add(new CXTPDockingPaneCaptionButton(IDB_BITMAP, this) My problem is that I can't get an image to show up. I've got a button theyre, I have an event handling for it, everything done. I just can't get my bitmap image to show up on the caption bar? A box is there when i hover mouse on and click and stuff. But no image. Anthony |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You must draw it manually in CDockingPanePaintManager::DrawCaptionButton |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ferduva
Newbie Joined: 22 September 2012 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
do yuo have an example?
|
|
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 |