CRhinoUiBitmapButton.
- NoKeywords
/ / Copyright (c) 1993-2007 Robert McNeel & Associates. All rights reserved. / Rhinoceros is a registered trademark of Robert McNeel & Associates. / / THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. / ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF / MERCHANTABILITY ARE HEREBY DISCLAIMED. /
/ For complete Rhino SDK copyright information see http://www.rhino3d.com/developer. / ////////////////////////////////////////////////////////////// Ported from CRhinoUiBitmapButton
Usage – a replacement for the MFC CBitmapButton
- include an owner-draw button in your dialog
- declare a CRhinoUiBitmapButton member in the CDialog code
- hook in the CRhinoUiBitmapButton using a call to AutoLoad
the bitmap resource specified in AutoLoad must be divisible into 4 equally sized images that represent (left to right) the up, down, focused and disabled states of the button