home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / sybase / starbuck / hpp.z / WOLECTL.HPP < prev    next >
C/C++ Source or Header  |  1996-04-22  |  2KB  |  65 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. #ifndef _WOLECTL_HPP_INCLUDED
  12. #define _WOLECTL_HPP_INCLUDED
  13.  
  14. #ifndef _WNO_PRAGMA_PUSH
  15. #pragma pack(push,4);
  16. #pragma enum int;
  17. #endif
  18.  
  19. #include "wole.hpp"
  20.  
  21. // *****************************************************
  22. // * Define OLE Control specific types and macros
  23. // *****************************************************
  24. #ifndef _OLECTL_H_
  25.  
  26. // forward declarations
  27. struct IFont;
  28. struct IFontDisp;
  29. struct IPicture;
  30. struct IPictureDisp;
  31.  
  32. typedef IFont * LPFONT;
  33. typedef IFontDisp * LPFONTDISP;
  34. typedef IPicture * LPPICTURE;
  35. typedef IPictureDisp * LPPICTUREDISP;
  36.  
  37. // Typedefs for standard scalar types
  38. typedef unsigned long OLE_COLOR;
  39. typedef long OLE_XPOS_PIXELS;
  40. typedef long OLE_YPOS_PIXELS;
  41. typedef long OLE_XSIZE_PIXELS;
  42. typedef long OLE_YSIZE_PIXELS;
  43. typedef long OLE_XPOS_HIMETRIC;
  44. typedef long OLE_YPOS_HIMETRIC;
  45. typedef long OLE_XSIZE_HIMETRIC;
  46. typedef long OLE_YSIZE_HIMETRIC;
  47. typedef float OLE_XPOS_CONTAINER;
  48. typedef float OLE_YPOS_CONTAINER;
  49. typedef float OLE_XSIZE_CONTAINER;
  50. typedef float OLE_YSIZE_CONTAINER;
  51. typedef enum { triUnchecked = 0, triChecked = 1, triGray = 2 } OLE_TRISTATE;
  52. typedef unsigned int OLE_OPTEXCLUSIVE;
  53. typedef unsigned int OLE_CANCELBOOL;
  54. typedef unsigned int OLE_ENABLEDEFAULTBOOL;
  55. typedef unsigned int OLE_HANDLE;
  56.  
  57. #endif // _OLECTL_H_
  58.  
  59. #ifndef _WNO_PRAGMA_PUSH
  60. #pragma enum pop;
  61. #pragma pack(pop);
  62. #endif
  63.  
  64. #endif // _WOLECTL_HPP_INCLUDED
  65.