locked
listview loose character event RRS feed

  • Question

  • Hello,

    My app contains listview with some items.

    One of the items present characters from the keyboard.

    My problem is that when i return back to this dialog from another  one  I don't get the keyboard event anymore.

    I catch the keyboard event with wm_char.

    getting back to this screen from another one I get only wm_notify messages

    how can i get the wm_char messages again?

    Monday, October 11, 2010 7:50 PM

Answers

  • Hi reuven,

    The message WM_CHAR is fired by pressing a key, since you just return from other dialog and there is no pressing key on this dialog, there is no WM_CHAR message.

    For more information:
    http://msdn.microsoft.com/en-us/library/ms646276(VS.85).aspx

     If I have misunderstood you, please let me know.

    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
    Thursday, October 14, 2010 8:26 AM