Print Page | Close Window

optimization...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=15309
Printed Date: 01 July 2024 at 8:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: optimization...
Posted By: Pariksh*t
Subject: optimization...
Date 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?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net