usStateCode (USHORT)

      State code.

      GB_UP

        Sets the graphic button to the Up state.
      GB_DOWN
        Sets the graphic button to the Down state.
      GB_TOGGLE
        Toggles the graphic buttons state from Up to Down or from Down to Up.

      usRePaint (USHORT)

        Indicates when change of state will occur.

        TRUE

          The change in state is reflected immediately onscreen.
        FALSE
          The change in state is not reflected immediately onscreen. The graphic button displays the change the next time it receives a BN_PAINT message.

        rc (ULONG)

          Return codes indicating success or failure.

          TRUE

            Success.
          FALSE
            Failure or not recognized.


          [Back] [Next]