Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - optimization...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

optimization...

 Post Reply Post Reply
Author
Message
Pariksh*t View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2008
Location: India
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pariksh*t Quote  Post ReplyReply Direct Link To This Post Topic: optimization...
    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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.