Wm_command

This is a discussion on Wm_command within the Windows Programming forums, part of the Platform Specific Boards category; How do I send a message to a specific child control (ie. IDC_BUTTON)? I can only think of how to ...

  1. #1
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    Wm_command

    How do I send a message to a specific child control (ie. IDC_BUTTON)? I can only think of how to send a WM_COMMAND message: eg.
    Code:
    SendMessage(WM_COMMAND, ...)
    Thanks
    Please direct all complaints regarding this post to the nearest brick wall Have a nice day.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    SendDlgItemMessage()....that will operate when you have an ID.....or if you have a HWND you could use SendMessage()

  3. #3
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    Thanks !
    Please direct all complaints regarding this post to the nearest brick wall Have a nice day.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21