Print Page | Close Window

CXTPTabClientWnd + MDI + scrollbar

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=14786
Printed Date: 22 June 2025 at 12:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabClientWnd + MDI + scrollbar
Posted By: nooneuser
Subject: CXTPTabClientWnd + MDI + scrollbar
Date Posted: 21 July 2009 at 9:00am
Thats my sample code:
/* cut */
....
m_wndTabClient.Attach(this, FALSE );
....
....
    SCROLLINFO si;
    si.fMask = SIF_PAGE | SIF_RANGE | SIF_POS;
    si.nMin = 0;
    si.nMax = 100;
    si.nPos = m_nVScrollPos;
    si.nPage = m_nVPageSize;
    m_wndTabClient.SetScrollInfo(SB_VERT, &si, TRUE);
....
/* end */

When i click on my Vertical Scrollbar its vanish. I was trying trough m_wndTabClient.ModifyStyle(0, WS_VSCROLL); but its dont help me and crushing my app. I want to moving my windows on my workspace, so when bottom of window goes under CXTPTabClientWnd space, i want to show my Scrollbar but he is still vanish. Could any one help me with it ?

/* Sorry for my english */



Replies:
Posted By: nooneuser
Date Posted: 22 July 2009 at 3:24am
Solved



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