home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 October / Chip_1997-10_cd.bin / tema / sybase / powerj / hpp.z / WGROUPBX.HPP < prev    next >
C/C++ Source or Header  |  1996-10-18  |  2KB  |  74 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.  * WGroupBox -- Wrapper for the Windows 95 Static GroupBox control.
  14.  *
  15.  *   Events:
  16.  *
  17.  *************************************************************************/
  18.  
  19. #ifndef _WGROUPBOX_HPP_INCLUDED
  20. #define _WGROUPBOX_HPP_INCLUDED
  21.  
  22. #ifndef _WNO_PRAGMA_PUSH
  23. #pragma pack(push,8);
  24. #pragma enum int;
  25. #endif
  26.  
  27. #ifndef _WCONTROL_HPP_INCLUDED
  28. #  include "wcontrol.hpp"
  29. #endif
  30.  
  31. //
  32. // GroupBox styles
  33. //
  34.  
  35. #define WGSDefault ((WStyle)0x50000007L) // WS_VISIBLE|BS_GROUPBOX|WS_CHILD
  36.  
  37. class WCMCLASS WGroupBox : public WControl {
  38.     WDeclareSubclass( WGroupBox, WControl );
  39.     
  40.     public:
  41.  
  42.         /**********************************************************
  43.          * Constructors and Destructors
  44.          *********************************************************/
  45.     
  46.         WGroupBox();
  47.     
  48.         ~WGroupBox();
  49.  
  50.         /**********************************************************
  51.          * Properties
  52.          *********************************************************/
  53.     
  54.         /**********************************************************
  55.          * Methods
  56.          *********************************************************/
  57.     
  58.         /**********************************************************
  59.          * Data members
  60.          *********************************************************/
  61.     
  62.     public:
  63.  
  64.         virtual const WChar * InitializeClass();
  65.         virtual WStyle GetDefaultStyle() const;
  66. };
  67.  
  68. #ifndef _WNO_PRAGMA_PUSH
  69. #pragma enum pop;
  70. #pragma pack(pop);
  71. #endif
  72.  
  73. #endif // _WGROUPBOX_HPP_INCLUDED
  74.