Print Page | Close Window

UpdateContents need to be Virtual

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=2255
Printed Date: 08 November 2025 at 5:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: UpdateContents need to be Virtual
Posted By: andre
Subject: UpdateContents need to be Virtual
Date Posted: 19 May 2005 at 9:38am

Hi,

I need a html view as a background of my app, since i'm using CXTPCTabClient, html view needs to be a child of this client, but the problem is that CXTPTabClient assumes that all child windows ( visible ) are workspace windows( tabbed )

 This is not what I want, I want a HTML view to be someting like the FillBackground feature.

To do it, I had to change UpdateContents function and compile the Lib again.

void CXTPTabClientWnd::UpdateContents()

<...>

if((pChildWnd->GetStyle()&WS_VISIBLE) == WS_VISIBLE)
   {
    // add item
    pNewItem = pFoundItem = AddItem(pChildWnd);

    if ( pFoundItem ) {

     pFoundItem->m_hWnd = pChildWnd->GetSafeHwnd();

     pFrameWnd->SendMessage(WM_X TP_NEWTABITEM, (WPARAM)pNewItem);
    }

 }

<...>

}

But may be there is another way to do this.

Thank You.

 




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