1,201 Topics

Member Avatar for
Member Avatar for MardukLitzer

Hello All, I'm having difficulty detecting the 'LVN_COLUMNCLICK' message from a ListView control. I am entering the WM_NOTIFY for sure, but I can't trap the LVN_COLUMNCLICK. Not sure where else to look, my code seems to follow what is listed on MSDN and just about every snippet I've found. Any …

Member Avatar for Ancient Dragon
0
115
Member Avatar for squidd

All the help I have received in here has been wonderful and I am very glad that there are good people in here to help us newbies. I know I sure need it! So these last few things would be nice to get some help with and then I will …

Member Avatar for squidd
0
176
Member Avatar for vb_vih

Hello every1, I need some help 4 my project. I have listview having names as listviewitems which r already sorted. Now if i type any alphabet say H in textbox then i want focus on the name wchich starts from h in listview. I m working on vb.net 2003 and …

Member Avatar for zandiago
0
73
Member Avatar for chrisliando

Hi I am new in Visual C++ and I want to know how to get all the > information in the listView to textBox/String > variable/ to a binary file /Serialization maybe? > > So if on the listView is consists of: > > Company | Name | Address | …

0
68
Member Avatar for chrisliando

Hi..I have a problem with serializing listView and treeView items using VISUAL C++ 2005 EXPRESS EDITION. I knew that the ListView class has a Serialize method but I don't understand how to use it. Here is my effort to make my own serialization. Actually I've been able to both serialize …

0
89
Member Avatar for chrisliando

[B] How to show the corresponding nodes of a treeView in a listView? Is it simply by comparing the node->Text and the items->Text? And how to delete the corresponding item? Or the way is complicated to find out that these 2 items are corresponding? Anyway, what's the different between items …

Member Avatar for Lerner
0
170
Member Avatar for curt22

Hi everyone. I'm having trouble getting groups working in a list box.I'm trying to have two groups. One will be "Done", and the other will be "todo". I'm getting these errors: [QUOTE] In function `LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)': `ListView_EnableGroupView' undeclared (first use this function) (Each undeclared identifier is reported …

Member Avatar for knopper
0
571
Member Avatar for Cecilia_notes

I have a ListView showing all the words from a file, the code is checking these words all the time to see whether they meet certain condition, or so, I would like the checkbox of that list item checked. I have 2 problems here: 1. How can I prevent the …

Member Avatar for hollystyles
0
174
Member Avatar for Exelio

hi all, I am using a listview to display thumbnail of images with some text. i have used largeicon view to display them. i have created the thumbnail images and its displayed. as in explorer, i need to have the thumbnail image displayed as a folder. (like a border to …

Member Avatar for iamthwee
0
142
Member Avatar for JaedenRuiner

In the standard ListView this is a SortOrder property and Sort() Method, but there is no OnSort event than I can see, so how can i cause a Sort by a subitem column instead of by the ListViewItem.Text property? Do I have to do it manually from scratch, or is …

Member Avatar for Ramy Mahrous
0
94
Member Avatar for Exelio

hi all, how to wrap a text of a item to the next line of listview if the length is too long? i found in msdn that the labelwrap property works only if the view mode is set to largeicon or smallicon. i need to set the view mode to …

Member Avatar for binoj_daniel
0
56
Member Avatar for curt22

I'm working on a simple program. It will compile,but whenever I press the delete button a message pops up and says it needs to close. I looked at the error details and It's error code was 0xc0000005. This is where I think the problem is: [CODE] for(i= 0; i < …

Member Avatar for Ancient Dragon
0
142
Member Avatar for curt22

How do I get the text out of a listview in report style into an array? I want it to be something like this: [[item1],[subitem1]],[[item1],[subitem1]],[[item1],[subitem1]], Here is some of my code: [CODE] hWndListView = CreateWindowEx( 0L, WC_LISTVIEW, "", WS_VISIBLE | WS_CHILD | LVS_REPORT, 0, 21, 340, 190, hWnd, (HMENU) ID_LISTVIEW, …

Member Avatar for curt22
0
112
Member Avatar for JaedenRuiner

Okay, I have a standard ListView, in details view, with CheckBoxes visible. However, I want a different functionality to occur when I DoubleClick an Item and when I Check the CheckBox. HOwever, whenever I double click an item the checkbox is checked. Right now I'm basically double assigned the "Checked" …

0
71
Member Avatar for dazlerd

Hi everyone This is my first post so please help me out !! ;) I am writting an application in VB.NET to print orders. The orders are shown on screen in a listview and the user can select individual orders/range of orders to print. This Access query looks like: [code]PARAMETERS …

Member Avatar for dazlerd
0
442
Member Avatar for r3su3l0

Hi, I am new to VB. I want to view my records from MS Access into my ListView control. Can you help me with this? Thanks in advance. I already connected my VB app to MS Access database using ADO OLEDB. I want this to be done using purely coding. …

0
53
Member Avatar for tbruggink

I am using a program developed in VB6 for about 4 years. It is only since recently, that I can no longer reorder Columns in the listviews and receive an error devision by zero. This error occurs not only on my computer (where Source-code is located), but also on computers, …

0
48
Member Avatar for anurag2134

1.I have a listview on the form and have three text boxes.If i select the row from the list view and click on the button the records are coming in the text boxes.But I want that if i enter the values in the text boxes,it will come in the listview …

Member Avatar for QVeen72
0
70
Member Avatar for bops

Trying to alternate row colors in listview control but handle for selected items. Message Loop of parent window (DialogBox) [code] // case WM_NOTIFY: { // NOTE: g_hList is the ListView Control // : hWnd is the parent of g_hList (Dialog Window) if ( LOWORD( wParam ) == (WPARAM) ID_LIST ) …

0
65
Member Avatar for bops

Hey, I have a ListView control in a dialog box that I want to have alternating row colours but obviously account for when a row is highlighted. This is my attempt so far but all I get is a blank looking listview, but I know the values are inside of …

Member Avatar for bops
0
313
Member Avatar for vamas
Member Avatar for arjunsasidharan
0
75
Member Avatar for gagansharma7

Hello[U],[/U] In VB.NET 1.1 and using WinForms, I am exporting the data displayed in a listview to a CSV file but I am specifying the filename and location while conversion. I need a dialog box where the user can choose the location to save the file. I know I have …

Member Avatar for iamthwee
0
92
Member Avatar for ReeciePoo

I was curious to know if you can add Links to subitems like the e.g below [U]| Column #1 | Column #2 | Column #3 | Column #4 |[/U] | Sub Item 1 | Sub Item 2 | Sub Item 3 | [COLOR=blue][U]Sub Item 4[/U] [/COLOR][COLOR=black]|[/COLOR] [COLOR=#000000]And when you click …

0
76
Member Avatar for ReeciePoo

I want to make a popup menu when i rightclick on a ListView Row I just want it to say Edit [Seperator] Delete ^^ Also how do i make a Sub Item a link to open a new form?

Member Avatar for ReeciePoo
0
71
Member Avatar for ReeciePoo

I have a text file setup called client.txt inside it has Halusa Decorations|Streamers|455892|$3.50 Kellys Floral|Frangipani|270272|$2.00 - Im using Listview in Report mode i was wondering how to grab each item e.g company|item|productid|cost into and put them into the Columnheaders [U]| Company Name | Product | Product ID | Price |[/U] …

Member Avatar for ReeciePoo
0
77
Member Avatar for shsh_shah

Hi, [B] I have a listview control where i added some column headers. Now the query is when i select any text on the textbox i want to import on listview control under the specific column header. ???? [/B] Currently its adding any selected text from textbox to listview control …

Member Avatar for shsh_shah
0
137
Member Avatar for vrushalinz1

HI , i m using System.Windows.Forms.ListView control. i want to set the text in the subItems to bold at run time. How do i acchieve this :!: Thanks in advance.

Member Avatar for Shodin
0
210
Member Avatar for Eddi8

[COLOR=blue]Hello everyone…. [/COLOR] [COLOR=blue] [/COLOR] [COLOR=blue]Can someone help me? Please.[/COLOR] [COLOR=blue] [/COLOR] [COLOR=blue]I have got a form with listview connecting access database.[/COLOR] [COLOR=blue]Some how I have managed to call the data to the form. As you can see the code below. It will open all the data to listview. And …

0
184
Member Avatar for dragoshstoica

Hi, I have a list view and i want to show dates from 2 tables from my database. How I do? Helpp.

0
82
Member Avatar for MasterTorr

Good day everyone. Please forgive me if this is in the wrong forum/context but I am seeking some assistance which i have been unable to find anywhere. Im currently in the hopes of being able to add a drop down to a particular column each time a row gets added …

Member Avatar for Mr.Markt
0
119
Member Avatar for bad_robot

Hi i'm new to VB6 and i just wanted to ask how to save the columns in a ListView to an Access DB... The format i use to save individual textbox to an Access DB is.... [code=visual basic 6] With adorecordset .Fields!Name = Text1.Text .Fields!Address = Text2.Text .Fields!Phone = Text3.Text …

Member Avatar for bad_robot
0
105
Member Avatar for LennieKuah

Hi there, I am having problem trying to retrieve the data from ListView the 2nd time round. It works the first time I clicked on the Line Item and when I clicked on another line item it gave me this error message :- [B][I]"Specific argument ws out of the range …

Member Avatar for LennieKuah
0
168
Member Avatar for hkinser

Near completing my password storage program and down to the part where I would like to write the listview data to an XML file (for later encryption). If writing to an XML file won't work, then just outputting the data to a regular text file will work in the interim. …

Member Avatar for iamthwee
0
92
Member Avatar for NewVBguy

Hi there, I am using a listview control. After populating the listview, I want my cursor to jump to the last row and make it visible. how can i do that using vb code. thanks in advance newvbguy

Member Avatar for QVeen72
0
201
Member Avatar for webspy

I'm developing a simple address book application which displays it's entries in a listview control. The entries are loaded from a file and stored in a array. My problem is I can't find a way to link the listview with the array (assign each item in the listview an ID …

Member Avatar for Ancient Dragon
0
315
Member Avatar for wednesday

Guys..Could anyone of you please help me with ... say, I add a subitem to the 3rd column of a listview..now I want to remove that item and add another one in the same position (or replace) How can I do that.. Thanks in advance

Member Avatar for NedFrankly
0
128
Member Avatar for wednesday

I have a listview with 4 columns...How do I retrieve a value that I already have in the columns 3 & 4 to a label??

Member Avatar for Yankie Dave
0
87
Member Avatar for woj117

Hi, I have a list view report style. Im trying to sort by click on a header, and it works fine, but it sort only the items, and I would like to have ability to sort also subitems (like in Windows explorer when user click for example [B]size [/B]of header). …

Member Avatar for WolfPack
0
101
Member Avatar for sunilr

Hi Guys,:) I am Sunil, new member to this gr8 group. Wat I want basically is a listview where I can display data of a column (basically a column containing [B]Names[/B]) from an SQL table. Also I have a textbox in the form where a user can type any name …

0
46
Member Avatar for khwo

hi all, I'm new user in VB.Net. I facing a problem here is I no have idea how to use the ListView in VB.Net. Can anyone of your give me some advice here. I want o call the data from database to the listview when form load, after that i …

Member Avatar for Tanvir
0
159
Member Avatar for khwo

[COLOR=#000000]Hi All,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I’m using the following coding for my searching function at listview, but I facing some problem here, if I use this code I only able to search the item at column 0 for the listview. But for my case, I want to let user click on …

Member Avatar for Lord Soth
0
143
Member Avatar for khwo

[COLOR=#000000]Hi all, I am using the following code for my searching function, but when I try to run it, it are allow me to search the item for column 1, but I want to search the item for column 2 as well columun 3, what mistake I have make, can …

Member Avatar for server_crash
0
136
Member Avatar for acezrwild817

I have created a listview in my C# form and when i add an item through my code I change the background color of my cells/rows. However, when i scroll over them at runtime the color defaults back to white and then they stay white. I have different tab pages …

Member Avatar for alc6379
0
140
Member Avatar for SelArom

I've got a procedure within a class that will be running something on its own thread. Basically it's a timer that will fire periodically... well when that event fires I want to be able to handle that on a windows form. for example: the class is a queue, when the …

Member Avatar for SelArom
0
102
Member Avatar for Terminal-Access

Hi all just signed up to the forum basically for the past coupple of month's i have been working on an ActiveX chatroom Controll for use with IE browsers and the Mozilla / Netscape browsers, this once compleeted will be opencource for others to use at the moment its being …

Member Avatar for calcop
0
140
Member Avatar for tayspen

ok, on a button click how could i have the listview selected item jump to the next. so if there was a list view with 3 items and the second was selected. On a button clickhow could i make it jump to the third? -T

Member Avatar for tayspen
0
247
Member Avatar for tayspen

I mam having problems doing somthing fairly simple. ;) . What i have is a listview with about 1000 items in it. All files paths that i have scanned from a directory. And there are 4 colums. First the name, then the size, extesion ect. the last is the path …

Member Avatar for tayspen
0
121
Member Avatar for bouzahme
Member Avatar for hemanth.balaji

How do you CENTER & BOLD the labels of the columns (i.e headings) using ListView. I did not understand the below found in MSDN.. /* If a column is added to a list-view control with index 0 (the leftmost column) and with LVCFMT_RIGHT or LVCFMT_CENTER specified, the text is not …

Member Avatar for WolfPack
0
133
Member Avatar for red_evolve

Greetings. I have searched high and low for the above topic but to no avail :confused: Is it possible to add a combo box into one of the columns of a listview control? Please advise.

Member Avatar for red_evolve
0
1K

The End.