This method is available only for tool bar pushbuttons in a 32-bit Windows application.
IsPressed must be preceded by the PressMouse method (with bRawEvent set to TRUE).
Unlike other pushbuttons, certain pushbuttons on a tool bar can remain pressed. IsPressed tests for this state. The pressed state is not the same as the checked state. ToolBar controls that support the checked state are associated with the CheckBox class, not the PushButton class.