Print Page | Close Window

CXTListCtrl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13414
Printed Date: 16 June 2024 at 6:56pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTListCtrl
Posted By: Kenneth
Subject: CXTListCtrl
Date Posted: 15 February 2009 at 3:23pm

I want to create a virtual list based CXTListCtrl which requires the base CListCtrl be created as follows per Microsoft:

"You create virtual list-view controls using the http://msdn.microsoft.com/en-us/library/cc410713.aspx - CreateWindow or http://msdn.microsoft.com/en-us/library/cc410714.aspx - CreateWindowEx function, specifying the LVS_OWNERDATA window style as part of the dwStyle function parameter. Dynamically switching to and from the LVS_OWNERDATA style is not supported."

This control is not in the resources so I cannot simply use the "Owner data" option.
 
How do I do this with the CXTListCtrl?
 



Replies:
Posted By: Oleg
Date Posted: 16 February 2009 at 5:28am
Hi,
if its not in resources, you have call Create method somewhere. Find it and add LVS_OWNERDATA  style.


-------------
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