Print Page | Close Window

CListBox in Property Grid

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=3620
Printed Date: 22 November 2024 at 3:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CListBox in Property Grid
Posted By: Thanatos
Subject: CListBox in Property Grid
Date Posted: 07 February 2006 at 5:28pm
Hello,

I have created a custom class for the property grid that uses a CXTListBox as its base class. It is instantiated fine, allows for scrolling, allows for selection, all as expected. But there is a problem: when it first appears, the scrollbar is not visible (even if it should be). If I mouseover the scrollbar it appears and stays visible for a while. If I click inside the listbox and scroll, the thumb of the scrollbar will appear, but not the arrows.

Here are the style flags I am using to instantiate my listbox. Any ideas?
m_wndListBox.Create(WS_CHILD | LBS_NOINTEGRALHEIGHT | WS_TABSTOP | WS_VSCROLL , rc, (CWnd*)m_pGrid, 0);       



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