![]() |
png not appearing properly |
Post Reply ![]() |
Author | |
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() Posted: 15 July 2008 at 1:06am |
Hello,
I have put the png files on my buttons.
But it is not appearing the way as it appears in your sample applications.
The images are appearing smaller compared to there original size.i put the png images on buttons as follows -
CXTPCommandBars* pCommandBars = GetCommandBars();UINT uiGroupClipboard[] = {ID_BTN_EDITAUTOLEVEL,ID_BTN_EDITAUTOCONTRAST,ID_BTN_EDITAUTOCOLOR,ID_BTN_EDITLEVEL,ID_BTN_EDITCURVECORRECTION,ID_BTN_EDITCOLORBALANCE}; pCommandBars->GetImageManager()->SetIcons(IDR_PNG_TOOLS, uiGroupClipboard, _countof(uiGroupClipboard), CSize(32,32)); and the images are appearing as follows-
please guide me why they are appearing smaller?
![]() |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Problem in code where you add these buttons.
|
|
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 |