Thread: More ListView issues

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    161

    More ListView issues

    If I move the editbox the ListView creates with the EDITLABELS(?) style, the list item under where it was shows blank. I tried sending a WM_PAINT to the ListView and UpdateWindow(), but it didn't do anything. Anyone know the right way? Win32 API answers, please. I don't use MFC.

    p.s. What's the easiest way to resize columns based on the font used and length of the longest string in the column? I want everything showing. Maybe I could just set the width of each column based on the width of the listview itself. Then if someone sets the font too big later, it's they're problem. I just want to spread out a bit when the window gets maximized/resized as opposed to everything being pushed against the left side of the box.
    Last edited by Viper187; 06-10-2008 at 01:28 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ListView Refresh, Update
    By de4th in forum C++ Programming
    Replies: 1
    Last Post: 12-23-2006, 09:13 AM
  2. Replies: 6
    Last Post: 07-10-2006, 12:05 AM
  3. Troubles with ListView and Toolbar
    By cornholio in forum Windows Programming
    Replies: 8
    Last Post: 11-14-2005, 01:26 AM
  4. Listview with c/c++
    By X PaYnE X in forum Windows Programming
    Replies: 8
    Last Post: 03-20-2005, 11:29 PM
  5. Listview??
    By SuperNewbie in forum C# Programming
    Replies: 4
    Last Post: 02-13-2003, 03:34 AM