id (USHORT)

      Button control identity.

    usnotifycode (USHORT)

      Notification code.

      The notification code BN_PAINT is only generated when the button control has a style of BS_USERBUTTON.

      The button control uses these notification codes:

      BN_CLICKED

        The button has been pressed.
      BN_DBLCLICKED
        The button has been double-clicked.
      BN_PAINT
        The button requires painting, using one of the following draw states:

        BDS_DISABLED

          The disabled state of the button requires painting.
        BDS_HILITED
          The highlighted state of the button requires painting.
        BDS_DEFAULT
          The default state of the button requires painting.

        flcontrolspec (ULONG)

          Control-specific information.

          When usnotifycode is BN_PAINT this parameter is a pointer to a USERBUTTON structure, otherwise this parameter is the window handle of the button control.

        ulReserved (ULONG)

          Reserved value, should be 0.


        [Back] [Next]