1,201 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 | … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 < … | |
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, … | |
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" … | |
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 … | |
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. … | |
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, … | |
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 … | |
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 ) … | |
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 … | |
learn about listview control please...........suggest (in vb.net) | |
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 … ![]() | |
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 … | |
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? | |
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] … | |
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 … | |
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. | |
[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 … | |
Hi, I have a list view and i want to show dates from 2 tables from my database. How I do? Helpp. | |
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 … | |
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 … | |
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 … | |
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. … ![]() | |
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 | |
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 … | |
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 | |
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?? | |
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). … | |
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 … | |
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 … | |
[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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
Add an item to a listview using API | |
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 … | |
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. |
The End.