473,406 Members | 2,371 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.

Scollable property in Listview class breaks column headers

When setting the Scrollable property of a listview and resizeing it the
headers will be painted wrongly. This defect is documented in MSDN as:

In versions of the .NET Framework prior to version 2.0, the column
headers were not painted correctly when setting this property to false
and resizing the control to make it larger. To work around this issue,
set this property to true in a ResizeBegin event handler and set it
back to false in a ResizeEnd event handler.

I honestly don't understand this workaround mentioned. The ResizeBegin
and ResizeEnd event are available only on .NET framework 2.0 according
to MSDN. Does this mean the provided workaround is valid only in
versions of .NET framework where it is not needed?

Does anyone have a .NET framework 1.1 workaround around?

Sep 13 '06 #1
0 1132

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

Similar topics

1
by: Sam Martin | last post by:
hi all, anyone know how i can detect this i c#? tia sam martin
1
by: Sam Martin | last post by:
hi all, I'm really jarred off with the ListView that comes with the .NET v1.1. Why didn't they bother to provide a nicely wrapped implentation of the Win32 ListView control? with support for...
19
by: Owen T. Soroke | last post by:
Using VB.NET I have a ListView with several columns. Two columns contain integer values, while the remaining contain string values. I am confused as to how I would provide functionality to...
10
by: Vinay | last post by:
Hi, Is there a limit on maximum number of columns in listview control ? I am finding: In a listview control (Report Format) I am displaying a record with 400 fields. I am creating its column...
2
by: Just Me | last post by:
Listview is Docked=Fill I set all column widths to -2 and it works as expected if the listview needs to be too wide for the window. That is, I get an H-scrollbar and the columns are the correct...
12
by: J L | last post by:
When I fill a listview, I resize the columns to fit the data. I need to know if the data will fit vertically or if there will be a vertical scroll bar. I need to know this so I can allow for it on...
3
by: JL | last post by:
Is it possible and if so, how, to change the color (and/or font) of a listveiw's column headers at runtime and individually? TIA, John
2
by: Marco | last post by:
Is there a way to get the text in a column header to wrap to multiple lines? I'm using vb.net 2003.
0
by: =?Utf-8?B?Q2hyaXMgSGxhZGU=?= | last post by:
I have written a custom ListView class for Visual Basic 2005 that allows sorting. This works fine. I would like to add a custom property to each column of the ListView. The property would be...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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,...
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.