Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - CListBox in Property Grid
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CListBox in Property Grid

 Post Reply Post Reply
Author
Message Reverse Sort Order
Thanatos View Drop Down
Newbie
Newbie


Joined: 07 February 2006
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Thanatos Quote  Post ReplyReply Direct Link To This Post Topic: CListBox in Property Grid
    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);       
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.