Print Page | Close Window

Can not create horz scroll bar.

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=6835
Printed Date: 12 November 2025 at 3:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can not create horz scroll bar.
Posted By: gozhhu
Subject: Can not create horz scroll bar.
Date Posted: 11 April 2007 at 3:37am
Please see my code, I wrote them on CView::OnCreate.
-------------------------------------------------
m_wndScrollBarH.Create(WS_CHILD | WS_VISIBLE | SBS_HORZ, CXTPEmptyRect(), this,  0);
m_wndScrollBarH.SetScrollBarStyle(xtpScrollStyleOffice2007Dark);
 m_wndScrollBarV.Create(WS_CHILD | WS_VISIBLE | SBS_VERT, CXTPEmptyRect(), this,  0);
m_wndScrollBarV.SetScrollBarStyle(xtpScrollStyleOffice2007Dark);
 
-------------------------------------------------
Really simple codes, but the horz scrollbar is a scaled vert scrollbar. I do not know why.
 
Thanks



Replies:
Posted By: Oleg
Date Posted: 11 April 2007 at 3:50am
Hi,
 
Yes, unfortunatelly CXTPScrollBar supported only vertical scrollbars. We will add bitmaps for horizontal bar for 11.1 release.
 
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: gozhhu
Date Posted: 11 April 2007 at 3:54am
thanks for your quick reply. Could you let me how long will 11.1 release.


Posted By: Oleg
Date Posted: 11 April 2007 at 5:39am
Hi,
 
it will be published in this or next week.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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