473,748 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Virtual ListView Question

I'm creating a virtual ListView with C#. I've seen a few code posts stating
that a virtual ListView will not work if the View is LargeIcon or SmallIcon.
Is this true?

My project requires the LargeIcon view style, and so far I've been unable to
get the images to display. The text (captions) don't seem to be a problem.
My only guess is that the ImageList isn't "really" being set to the ListView,
although it does add space for the images.

Thanks for any information you can give.
Jul 21 '05 #1
1 1632
Nevermind. I figured it out.
"Glenn" wrote:
I'm creating a virtual ListView with C#. I've seen a few code posts stating
that a virtual ListView will not work if the View is LargeIcon or SmallIcon.
Is this true?

My project requires the LargeIcon view style, and so far I've been unable to
get the images to display. The text (captions) don't seem to be a problem.
My only guess is that the ImageList isn't "really" being set to the ListView,
although it does add space for the images.

Thanks for any information you can give.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
11340
by: Danny Tuppeny | last post by:
Hi All, I'm trying to find the best way to select an item in a ListView using the Virtual mode. My "items" are business classes, and I have a reference to once I want to select (passed from another dialog). One way is to spin through the items and compare the .Tag property to my business object (code below), however I fear the casts are probably costly (there could be a lot of servers). I also thought about spinning through the servers...
0
1318
by: Arnold the Aardvark | last post by:
I'm reimplimenting an old project in order to learn about the WindowsForms classes. My project (C++Builder) used a virtual listview. The data was in a structure made out of STL containers. So the question is: can I easily use a virtual listview. At this stage I am not interested in learning about anything too 'advanced'. Implementing this in BCB was simplicity itself - set one property and write one method - so I naturally thought the...
0
1781
by: davebrad4d | last post by:
Please help me I am trying to port over some old 3rd party code (using XVT), and am using .net via managed c++. All my buttons and edit controls look great. However i can't get a virtual OWNERDATA listview working. I have tried extending the get_CreateParams with the LVS_OWNERDATA style but spy++ does not show that this works, also i never get the WM_NOTIFY message (i have extend the WndProc method). Please can someone tell me what i am...
3
4330
by: JP | last post by:
I have an app that represents ShellFolder Items as a visual element (listview item, etc). The code correctly performs Drag&Drop operations EXCEPT in the case when the item being dragged is from a Virtual Folder. The problem is that the DragSource is my app, not the Virtual Folder, and therefore the IDataObject interface is clueless about how to get the data. My understanding is that I need to obtain and use the IDataObject Interface of...
1
318
by: Glenn | last post by:
I'm creating a virtual ListView with C#. I've seen a few code posts stating that a virtual ListView will not work if the View is LargeIcon or SmallIcon. Is this true? My project requires the LargeIcon view style, and so far I've been unable to get the images to display. The text (captions) don't seem to be a problem. My only guess is that the ImageList isn't "really" being set to the ListView, although it does add space for the images....
6
3349
by: John Kotuby | last post by:
Hi all.. In a VS2005 ASP.NET 2.0 website application I am using a regular HTML anchor (actually a number of them) in a page that produces Excel output because a server control is really not needed here. I am using a relative path in the anchor such as: <a href= "/Common/ListView.aspx" My understanding is that I cannot use the syntax:
1
5389
by: Carl Johansson | last post by:
I have a virtual ListView (VirtualMode set to true). To make it more convenient for the users of the ListView to select its items, I've set the ListView's CheckBoxes property to true. However, in virtual mode no checkboxes appear. That is, when the View style is set to Details the text labels are indented to make room for checkboxes, but no checkboxes are displayed. Am I missing something? I think this ought to be as straight forward as...
1
2635
by: =?Utf-8?B?VmljdG9y?= | last post by:
Hi, How to get a list of ListViewItems that are currently shown in a Windows Form ListView control when that that control is in a virtual mode?
0
937
by: Lloyd Sheen | last post by:
I was in a thread talking about how to populate a listview from a Linq query. This got my curiosity up so I created a usercontrol which is a listview which can be populated from a Linq query. I has all the same properties / methods available to a listview but behind the scenes it is really a virtual listview. It is quick to load (33K items in less than a second including the query). It can be sorted and uses the dynamic linq vb...
0
9386
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9333
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.