locked
WM 6.5 DrawItems having problem RRS feed

  • Question

  •  if you are doing custom drawing for listview
    control then the functionality breaks in WM 6.5, the display will become garbled once the user starts using
    gestures.
    Same thing is happening with the Owner draw ListView WM 6 SDK example.
    Please let me know, if somebody has solution for this.



    Shruti
    Sunday, September 19, 2010 5:31 PM

Answers

All replies

  • Hi Shruti00,

    We can capture WM_Geture message and block the message, like the code below:
    case WM_GESTURE:
                {

                   //block it here

                }

    Following are similar threds, which may give you more information about it:

    http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesnative/thread/b5be54eb-1732-4cb6-b740-e3e90f2429da
    http://www.pcreview.co.uk/forums/thread-3918197.php

     

    Best regards,
    Guang-Ming Bian - MSFT

     


    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    Friday, September 24, 2010 6:05 AM
  • Hi Guang-Ming Bian,

     

    I went through the above link. But i am not able to understand how to handle this event for ownerdwar list view, so that it displays item correctly on flick up and down.. 

     

    Regards



    Shruti
    Tuesday, September 28, 2010 10:49 AM
  • Hi Shruti,

    The message has nothing to do with ownerdraw method, but it can block gesture operation. We just monitor the message and block it.

     

    Best regards,
    Guang-Ming Bian - MSFT


    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    • Marked as answer by Shruti00 Saturday, October 2, 2010 8:05 AM
    Wednesday, September 29, 2010 10:05 AM