ListView and the edit box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a listview control that doesn't initialize the size of the edit field properly when an item's label is being edited. For some dumb reason it's often much smaller than the actual label

I have tried to fix this bug myself but that fails too. I handled the LVN_BEGINLABELEDIT notification, read the actual size of the item's label with GetItemRect(..., LVIR_LABEL), grabbed the handle to the edit field and attempted to correct its incorrect size with the SetWindowPos function. The SetWindowPos function did absolutely nothing!

Why doesn't that edit field open at the same dimensions it appears under the listview icon? Why won't Windows at least allow me to resize it once it's been created?
 
What, 6 billion people on this planet and I'm the only one who's run
into this problem??? ;-)

Hello?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top