473,320 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Customizing a listview control's largeicons view

Hi there,

I'm hunting around for some kind of example on how to customize the
largeicons view of a listview control, I would like to draw each item myself
if possible, is it possible to owner draw this control? Anyway, any
pointers to examples would be most appreciated as all I seem to find is
examples of customizing the details view. Cheers loads in advance!!

Nick.
Nov 21 '05 #1
3 1789
Hi,

Maybe this will help
http://www.codeproject.com/cs/miscct...rpListView.asp

Ken
----------------
"Nick" <no****@altavente.com> wrote in message
news:eN**************@TK2MSFTNGP14.phx.gbl...
Hi there,

I'm hunting around for some kind of example on how to customize the
largeicons view of a listview control, I would like to draw each item myself
if possible, is it possible to owner draw this control? Anyway, any
pointers to examples would be most appreciated as all I seem to find is
examples of customizing the details view. Cheers loads in advance!!

Nick.

Nov 21 '05 #2
Cheers Ken, I shall go check it out. I had a good attempt to try to
decipher the Windows Messages route yesterday but ended up with something
rather bizaar, it's a shame this isn't documented well enough, but then
again I don't suppose Microsoft want everyone with Explorer clones, and that
hardly suprises me. Thanks again :-)

Nick

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hi,

Maybe this will help
http://www.codeproject.com/cs/miscct...rpListView.asp

Ken
----------------
"Nick" <no****@altavente.com> wrote in message
news:eN**************@TK2MSFTNGP14.phx.gbl...
Hi there,

I'm hunting around for some kind of example on how to customize the
largeicons view of a listview control, I would like to draw each item
myself
if possible, is it possible to owner draw this control? Anyway, any
pointers to examples would be most appreciated as all I seem to find is
examples of customizing the details view. Cheers loads in advance!!

Nick.

Nov 21 '05 #3
Hi again,

Unfortunately the example at CP is just another "report view" example,
as far as I am aware in order to owner draw in the "large icons" view you
need to handle the parents messages, I have found a couple of CPP examples
that I'm trying to bodge into submission from MSDN. Cheers for the link
anyway.

Nick.

"Nick" <no****@altavente.com> wrote in message
news:eI**************@TK2MSFTNGP14.phx.gbl...
Cheers Ken, I shall go check it out. I had a good attempt to try to
decipher the Windows Messages route yesterday but ended up with something
rather bizaar, it's a shame this isn't documented well enough, but then
again I don't suppose Microsoft want everyone with Explorer clones, and
that hardly suprises me. Thanks again :-)

Nick

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hi,

Maybe this will help
http://www.codeproject.com/cs/miscct...rpListView.asp

Ken
----------------
"Nick" <no****@altavente.com> wrote in message
news:eN**************@TK2MSFTNGP14.phx.gbl...
Hi there,

I'm hunting around for some kind of example on how to customize the
largeicons view of a listview control, I would like to draw each item
myself
if possible, is it possible to owner draw this control? Anyway, any
pointers to examples would be most appreciated as all I seem to find is
examples of customizing the details view. Cheers loads in advance!!

Nick.


Nov 21 '05 #4

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

Similar topics

0
by: tommazzo | last post by:
I'm currently writing a photo album sotware in C#. I'm using a ListView component to diaplay thumbnail previews of the photos and want to give the user the possibility to rearrange the photos via a...
1
by: Welie | last post by:
Hi all- I am using a listview (MSComctlLib.ListViewCtrl.2)on an Access form. Actually there are six listviews on the form. I need to do the same thing to all six forms so I have the loop below....
0
by: Mike Barthold | last post by:
Hi NG, I'm trying to convert an app to 1.1 and encounter a problem I can not solve on my own. It's a ListView in "Details" View, having a SmallImageList attached to it which contains 2 bitmaps...
2
by: Anushya devi | last post by:
Hi All I used listview and tried to update it by using Addrange. When the number of items is less, it works fine.. But I need to update nearly 200,000 items and it hangs. Also i need to add...
3
by: MikeY | last post by:
Hopefully someone can help me on this. I am using C#, making Windows forms. I have created a listView with checkbox's. I have enabled the checkboxes under the properties, and all the data,...
7
by: BobAchgill | last post by:
I am trying to decide which of these controls to use to implement letting my user select a full row from MyList. The MyList has several columns which would be nice to sort by at run time. The...
6
by: Nick | last post by:
Hi there, I'm trying to implement drag-drop for my listview control in large icon view mode. Unfortunately the order of the items gets completely messed up upon inserting the item back into the...
10
by: Rob | last post by:
VS 2005 How can you tell if a value is contained in a specific column (let's say column 1 named Status) of a ListView ? In a list box you could go... If ListBox1.Items.Contains(strWhatever)...
0
by: YogSagot | last post by:
Hi everybody! How to expand the length of the visible text of ListViewItem shown in the LargeIcons mode? If this text is too long it's being cut so the rest of the text is replaced with "..." and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

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.