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