optimization... |
Post Reply |
Author | |
Pariksh*t
Groupie Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
Posted: 07 October 2009 at 2:16am |
hi,
we have used xtreeme toolkit 12.0.1 in our application. The size of exe was 6MB now its 12 MB... we have used ribbonbars in following way CXTPCommandBars* pCommandBars = GetCommandBars(); m_pTabGalleries = pRibbonBar->AddTab(ID_GALLERIES_TAB); //'/Group Gallaries for buttons and combo box.... CXTPRibbonGroup* pGroupGallaries = m_pTabGalleries->AddGroup(ID_GALLERIES_GROUP_GALLARY); pGroupGallaries->SetCaption( g_Interface.GetFromStringTable(IDS_GALLARIES)); pGroupGallaries->SetControlsGrouping(); pGroupGallaries->AllowReduce(0); //'/Button 'ClipArts'. m_pClipArtsButton = (CXTPControlButton*)pGroupGallaries->Add(xtpControlButton, IDC_CLIPARTS); m_pClipArtsButton->SetStyle(xtpButtonIconAndCaptionBelow); UINT uiClipArts[] = {IDC_CLIPARTS}; pCommandBars->GetImageManager()->SetIcons(IDR_PNG_CLIP_ART, uiClipArts, _countof(uiClipArts), CSize(27, 23));//CSize(32, 32)); m_pClipArtsButton->SetTooltip(g_Interface.GetFromStringTable(IDS_BTMPARENT_BTN_CLIPART)); m_pClipArtsButton->SetHeight(30);//(35) m_pClipArtsButton->SetWidth(40); but we havent found any way to free the memory or to optimize the memory what we can do to minimize the size and to optimize or to free the xtp controls? |
|
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 |