473,395 Members | 1,623 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,395 software developers and data experts.

Listboxes and ListView visual problems

Greetings,

I don't deal too much with the visual side of the framework, so I may be
simply doing something quite stupid - but if I am I can't figure it out for
the life of me.

On my machine (a Dell Inspiron 8200, gForce4 440, 1 gig Ram, etc.) I simply
fire up Visual Studio, create a Windows Form, drag a ListView onto the form,
create two columns in the listview and then compile and run. When I do a
mouse-over the "splitters" or the vertical bars between the columns on the
ListView, my cursor turns into a black square (same dimensions as the
cursor), and when I try to display an image into the listview, it shows up
as a black square too.

Also, with the listbox, text isn't updating correctly. If I plop a listbox
onto my form and set the first row of text of it in Form1_Load() of my
windows form, the text within the listbox doesn't display until I happen to
wave a modal dialog (spawned from the same Form1) over it.

I also have trouble with ComboBoxes, where any text programmatically
inserted into the drop-list isn't displaying ( it maintains the text,
because I can select an item from the drop-box, it just doesn't display it).

Using Spy++ I see that

WM_NCPAINT,WM_ERASEBKGND, and WM_PAINT

are called when I "wave" the modal dialog over my Form1 to show the missing
text/graphics.

I turn off hardware acceleration and I get the same problem. I have a couple
simple applications I would like to complete, but I cannot because the GUI
is totally crapping out on me. I have never had this problem before either -
and have used these controls for quite sometime on this machine without any
trouble. What could the problem be? Any ideas?

TIA,
Ben
Nov 16 '05 #1
0 1156

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

Similar topics

2
by: Randy Birch | last post by:
Reposted as the original is reported as deleted from the server. re: MSComCtl Listview control cashes after installing VB6/VS6 SP6 I have been advised that this problem has been reproduced...
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: Terry D | last post by:
I'm having an issue with an ASP.NET page (VS.NET 2003, VB.NET, Oracle back end). The page uses the standard VS.NET grid to display the records from a particular table. The user can edit certain...
3
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
7
by: Laurent Navarro | last post by:
Hello, I'm creating a control including a listview. I would like to be able to set the columns through the Design Tool in Visual Studio, so I created a parameter to access the columns of my...
3
by: Michael.Suarez | last post by:
Is it me, or does it seem like they put no effort into creating the listview control in .Net. listview. A few gripes I have with .Net listview that aren't present in vb6: -Inability to set...
2
by: salad | last post by:
This is a tip on how to speed up listboxes DRAMATICALLY. Persons that would benefit are those that are constantly updating the rowsource of a listbox/combobox in order to filter and sort the data...
1
by: FireFlux | last post by:
Inherit the Listview Control with Visual Basic ? I have decided do inherit the Listview control some days ago to change some painting things to make the .net Listview look like the explorer's...
4
by: Joerg | last post by:
Hi! I've two list boxes, both bind to different datasources (Datatable), but showing the same MemberValue (UserID) The listboxes are placed in a form which shows detail information from a...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
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...

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.