locked
WM_NOTIFY RRS feed

  • Question

  • hi All,
              could u tell me how can i find the mesage for this notification code 4294966976 in WM_NOTIFY message
    Wednesday, July 8, 2009 2:02 PM

Answers

  • Hi Ezhilmani,

    As far as I know, there is no such special message for the value, as a workaround, we can check its value in WM_Notify message, like the code:

    case WM_Notify:
    if(lParam.code==4294966976)
    {
       //your code
    }


    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
    Tuesday, July 14, 2009 3:13 AM

All replies

  • Hi,

    I am not sure your question is entirely clear, the message is WM_NOTIFY. There are a number of parameters used when call the SendMessage method using the WM_NOFTIY as the message so you might be looking for either one of these parameters or the return :-

    http://msdn.microsoft.com/en-us/library/bb775583(VS.85).aspx

    Can you clarify your question?

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Wednesday, July 8, 2009 2:07 PM
  • hi,
          I hav collected the code in the structure NMHDR. In that the member code has the   value 4294966976
    typedef struct tagNMHDR { 
      HWND hwndFrom; 
      UINT idFrom; 
      UINT code; 
    } NMHDR; 
     so i need the respective message for this code.

    Its in lparam of WM_NOTIFY message
    Wednesday, July 8, 2009 2:15 PM
  • Hi Ezhilmani,

    As far as I know, there is no such special message for the value, as a workaround, we can check its value in WM_Notify message, like the code:

    case WM_Notify:
    if(lParam.code==4294966976)
    {
       //your code
    }


    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
    Tuesday, July 14, 2009 3:13 AM
  • What possibly has happened is that you failed to zero the memory for the structure and you are seeing a garbage value.

    Do the following, before using the structure.

    NMHDR test ;

    memset( &test, 0, sizeof(test) );  // zero the memory

     

    Friday, April 29, 2011 7:02 AM