home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / sybase / starbuck / hpp.z / WFRAME.HPP < prev    next >
C/C++ Source or Header  |  1996-10-18  |  2KB  |  71 lines

  1. /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2.    %     Copyright (C) 1994, by WATCOM International Inc.  All rights    %
  3.    %     reserved.  No part of this software may be reproduced or        %
  4.    %     used in any form or by any means - graphic, electronic or       %
  5.    %     mechanical, including photocopying, recording, taping or        %
  6.    %     information storage and retrieval systems - except with the     %
  7.    %     written permission of WATCOM International Inc.                 %
  8.    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  9. */
  10.  
  11. /*************************************************************************
  12.  *
  13.  * WFrame -- Wrapper for the Windows 95 Static Frame control.
  14.  *
  15.  *   Events:
  16.  *
  17.  *************************************************************************/
  18.  
  19. #ifndef _WFRAME_HPP_INCLUDED
  20. #define _WFRAME_HPP_INCLUDED
  21.  
  22. #ifndef _WNO_PRAGMA_PUSH
  23. #pragma pack(push,8);
  24. #pragma enum int;
  25. #endif
  26.  
  27. #ifndef _WSTATIC_HPP_INCLUDED
  28. #  include "wstatic.hpp"
  29. #endif
  30.  
  31. //
  32. // Frame styles
  33. //
  34.  
  35. #define WFSDefault     ((WStyle)0x50000112L) // WS_VISIBLE|SS_ETCHEDFRAME|WS_CHILD|SS_NOTIFY
  36.  
  37. class WCMCLASS WFrame : public WStatic {
  38.     WDeclareSubclass( WFrame, WStatic );
  39.  
  40.     public:
  41.     
  42.         /**********************************************************
  43.          * Constructors and Destructors
  44.          *********************************************************/
  45.     
  46.         WFrame();
  47.     
  48.         ~WFrame();
  49.     
  50.         /**********************************************************
  51.          * Properties
  52.          *********************************************************/
  53.     
  54.         /**********************************************************
  55.          * Methods
  56.          *********************************************************/
  57.     
  58.         /**********************************************************
  59.          * Overrides
  60.          *********************************************************/
  61.     
  62.         virtual WStyle GetDefaultStyle() const;
  63. };
  64.  
  65. #ifndef _WNO_PRAGMA_PUSH
  66. #pragma enum pop;
  67. #pragma pack(pop);
  68. #endif
  69.  
  70. #endif // _WFRAME_HPP_INCLUDED
  71.