Ownerdraw listview wm 6.5 RRS feed

  • Question

  • Hi there,
    I'm having some problems with my ownerdraw listview in wm 6.5, the items are not displayed after doing a vertical finger scrolling, I have checked the sample that cames in the sdk and it has the same problem,
    any help will be appreciated,
    Sunday, January 31, 2010 12:55 PM


  • I think you mean the Owner Drawn List-View sample. The sample releases the device context at the end of processing the WM_DRAWITEM message, which is incorrect. Commenting out the following line should solve the problem:

            //ReleaseDC (g_hwndListView, hdc);

    Please mark the post that helps you, and unmark that does not. This benefits our community.
    • Marked as answer by warrentang Friday, February 5, 2010 1:13 AM
    Wednesday, February 3, 2010 6:27 AM