473,657 Members | 2,896 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

list view control

Hi I'm programming with C in win32 using Dev C++. I have created a
list-view control and can display it on a modeless dialog box. but i
cannot figure out how to add a header. can anyone help. I've already
looked at msdn and found all of their documentaion, but it is so confusing
and i'm not sure if it works with dev C++ due to the fact that most of it
is for Visual Basic. source code would be great! Thanks for any help!

Nov 14 '05 #1
2 2011
"Victorb17" <vi*******@isp. com> wrote in
news:ae******** *************** *******@localho st.talkaboutpro gramming.com:
Hi I'm programming with C in win32 using Dev C++. I have created a
list-view control and can display it on a modeless dialog box. but i
cannot figure out how to add a header. can anyone help. I've already
looked at msdn and found all of their documentaion, but it is so
confusing and i'm not sure if it works with dev C++ due to the fact that
most of it is for Visual Basic. source code would be great! Thanks for
any help!


You seek a newsgroup with 'win32' in the name, this is not a C language
question.

--
- Mark ->
--
Nov 14 '05 #2

"Victorb17" <vi*******@isp. com> wrote

Hi I'm programming with C in win32 using Dev C++. I have created a
list-view control and can display it on a modeless dialog box. but i
cannot figure out how to add a header. can anyone help. I've already
looked at msdn and found all of their documentaion, but it is so confusing
and i'm not sure if it works with dev C++ due to the fact that most of it
is for Visual Basic. source code would be great! Thanks for any help!

GUI apis are generally deeply evil and must be fought. Read the docs, make a
few changes to you code, recompile and run, go back to the docs again, and
repeat until it works.
Unfortunately we can't provide beter support since Windows-specific stuff is
off-topic here.
Nov 14 '05 #3

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

Similar topics

1
3446
by: Dec | last post by:
Ok to simplify things I'll just give an example. This is pretty much what I want to do (minus the postcode): http://www.perrys.co.uk/usedcar?ID=F5J9BNNBMVK00DF I have relatively little experience with databases (hate being a n00b) but I'm currently attempting to put myself through some sort of crash course.. How far have I got? Ok so using MS access 2003. I have a table (table1) with data with a
5
2282
by: Praveen R | last post by:
Hi ! I am using a List view control to populate data onto. On the click event of the list view control, i need to find out whether the area clicked has any information of has no information. I basically need to either decide to add a new record or edit the existing record depending on whether data is available or not on the row where the mouse click was performed.
3
1218
by: Brent Hoskisson | last post by:
I can't figure out what I'm missing here. I set up a list view control. As I load the form, I select one of the items in the list view control: lvwPrograms.Items(0).Selected = True Everything is handled properly except that the item did not highlight in the listview control. Do I need to programatically highlight the item? If so how do I do this?
4
1785
by: El Camino | last post by:
Ok, Picture this... I have a List view already fill with data I want to select one row in the list view with an ID that i retrieve later on in the process Basically its: I have an ID
11
2155
by: Brian Henry | last post by:
Well here is the problem, I have a data set with about 9,000 to 20,000 people in it in the data table "people"... I am then reading it into a list view one at a time row by row... adding each person to the list view, well this works fine up to about 1,000 people then it start's to get really show putting the people in (a lot of process time used up)... does anyone know of any optimizations i could do to make this processess work a lot...
0
3232
by: Brian Henry | last post by:
Here is another virtual mode example for the .NET 2.0 framework while working with the list view. Since you can not access the items collection of the list view you need to do sorting another way... here is my code on how I did it to help anyone starting out get an idea of how to use virtual mode in ..NET 2.0 Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared
3
1264
by: idletask | last post by:
I have an application that has many windows. One window is used for order processing. I would like this window to display the other users who are also performing order processing (the idea is to prevent a user from opening an order that is being worked on by another user. I have considered using the database: * my query can return a user id or other identifier along with the order record so that when I populate my list view control,...
4
64587
Rabbit
by: Rabbit | last post by:
Cascading Combo/List Boxes This tutorial is to guide you in the creation of Cascading combo/list boxes. That is when you have multiple combo/list boxes where the selection of an option in one determines the available options in the other. TERMINOLOGY Row Source: The table/query from which the Combo Box or List Box gets its values. Note: There are other types of row sources that can be used but for simplicity we will stick with Tables...
2
2194
by: Miesha.James | last post by:
Hello, I've added a list view to a windows form and I want to add items and subitems to the list at runtime. The problem that I have is that when I try to use the list view control variable it throws the following error An unhandled exception of type 'System.NullReferenceException' occurred in RcvrStatusTest.exe
1
2967
by: jollyguy77 | last post by:
Hi, I have just started to learn in .net. I want to show a list of filename along with the corresponding image (like pdf image for pdf files etc..). i will be getting the list of files from database. I want to show the files in list view format and also give the option for the user to change the view to details or thumbnail or icons accordingly.. also to give the option for renaming or deleting a file. I know that there is a Listview...
0
8384
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8718
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
8499
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
7314
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
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
5630
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
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1937
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1601
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.