473,406 Members | 2,698 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,406 software developers and data experts.

Custom ListView

Hi,

I'm coming back on the ListView component that i would like to design.
I finally finish to analyse how it should work (on paper).
So i have properties, methods and events that i should implement.

I found several points that must base component respects to implement it.
- it should implement a canvas/GDI to allow drawing (to allow
transparency, borders, headers, alignment, colors,...)
- it should allow containers in order to implement in each cell a child
component (i.e : progressbar, spin box, editbox,..)
- it should allow drag and drop methods and also fire event when
resizing columns, rows, headers,...
- it should also allow multi type columns (to display progress bar, spin
edit, images,...)
- it should allow customized headers

As someone advise me before, Panel seems to be good choice for that, but
i would like to know before to start to code, if there is not another
base component on which i can base my custom control (as base component)
? maybe a better one thant Panel control.

thanks a lot for your contribution. I do not want to start to code and
to realize after that i should start from another base control or class.
It would be crazy to waste coding time.

Al.
Jan 22 '07 #1
1 3433
igd
Since Panel already support a border (BorderStyle) it is a good choice.
Alternatives are Control or UserControl. You will find a lot of text
material on that topic in the MSDN library (related to
Control/UserControl).
--== Alain ==-- schrieb:
Hi,

I'm coming back on the ListView component that i would like to design.
I finally finish to analyse how it should work (on paper).
So i have properties, methods and events that i should implement.

I found several points that must base component respects to implement it.
- it should implement a canvas/GDI to allow drawing (to allow
transparency, borders, headers, alignment, colors,...)
- it should allow containers in order to implement in each cell a child
component (i.e : progressbar, spin box, editbox,..)
- it should allow drag and drop methods and also fire event when
resizing columns, rows, headers,...
- it should also allow multi type columns (to display progress bar, spin
edit, images,...)
- it should allow customized headers

As someone advise me before, Panel seems to be good choice for that, but
i would like to know before to start to code, if there is not another
base component on which i can base my custom control (as base component)
? maybe a better one thant Panel control.

thanks a lot for your contribution. I do not want to start to code and
to realize after that i should start from another base control or class.
It would be crazy to waste coding time.

Al.
Jan 22 '07 #2

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

Similar topics

5
by: Simon Middlemiss | last post by:
I am writting a program to manage DTS packages which is based on the code example at the following link http:\\www.support.microsoft.com/?kbid=319985. I need to do things in a Windows Forms...
0
by: sorpor | last post by:
I am trying to create a custom listviewsorter by implementing IComparer. My listview has check boxes and the purpose is to move checked item to top of list. They all will be sorted ascendingly. It...
1
by: Jeff | last post by:
I've made a custom Listview control, and i want this control to use a custom ColumnHeader control that I've created. how can i do this thanks
5
by: ToddH | last post by:
I know the following code is C#. I'm a vb programmer trying to learn a new language. I posted this in the c# group but never got a response. You guys seem to know alot about all languages and have...
1
by: lewisjosh2 | last post by:
I'm a newbie to windows forms and I'm having trouble finding any information about how to create a custom listview. In my app, I'm using a 'large icon' view and basically what I want to do is: ...
0
by: Piotr Strycharz | last post by:
Hi, I need to develop a custom control. The control is going to be something like Properties window in VS - listview (grid?) with resizable columns and collapsable sections. The control needs...
7
by: =?Utf-8?B?YnJhaW5mdWVsbWVkaWE=?= | last post by:
Can anyone point me in the direction of creating a custom listview item? I guess the other question then - is this possible? I want to create a list of listview items comprised each comprised of...
1
by: a | last post by:
Hi I would like to add some additional custom features to the listview, like cell editing. The created object will be added to the form as part of the GUI, and it should be able to handle...
5
by: Mark Olbert | last post by:
How do I get the DataPager and ListView to play nice together when I use a custom datasource? In my webpage, I use linq to pull data from a SqlServer database and assign the resulting...
1
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
I'm running VS2008 & attempting to solve a problem I've encountered while developing some software for our business. Here's the basic idea...I've created a class that represents a file (with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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...
0
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...

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.