home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / 93win / data1.cab / DLL_Toolkit / Source / HTBCheckButton / Checkbutton.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-03-02  |  2.6 KB  |  76 lines

  1. // Checkbutton.h : main header file for the CHECKBUTTON DLL
  2. //    High Tech BASIC, Copyright (C) TransEra Corp 1999, All Rights Reserved.
  3. // Sven Henze, Tech Soft GmbH 1999
  4.  
  5. #if !defined(AFX_BUTTON_H__D6D63EC5_3EA4_11D3_A911_00104B9A4FD0__INCLUDED_)
  6. #define AFX_BUTTON_H__D6D63EC5_3EA4_11D3_A911_00104B9A4FD0__INCLUDED_
  7.  
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11.  
  12. #ifndef __AFXWIN_H__
  13.     #error include 'stdafx.h' before including this file for PCH
  14. #endif
  15.  
  16. #include "resource.h"        // main symbols
  17. #include "CheckbuttonDlg.h"    // Added by ClassView
  18.  
  19.  
  20. #define MINWIDTH 150
  21.  
  22. //**************************************************************************
  23. // begin prototypes
  24. extern short g_SavePressed;
  25. extern CString g_Title;                        // Window title
  26. extern CString    g_Description;                // Text above buttons will wrap to two lines if too long
  27. extern CString g_grouptext;
  28. extern long g_Width;                        // width of the dialog box
  29. extern short g_BtnCount;                    // the number of buttons desired
  30. extern CString    g_Text[];                    // Checkbutton text
  31. extern short *g_pPress;                        // pointer into HTBasic memory for updateing user input
  32. extern OPTION g_Option;                        // 1 for modal, 2 for threaded variable update, 3 for threaded with signals
  33. extern CheckButtonDlg *g_pBtnDlg;            // global pointer to CheckButton dialog used for setting focus and closing
  34.  
  35.  
  36. void Initialize(CheckButtonDlg * Bdlg);
  37. short Showcbutton(short option, short count, long width, short* press, char* title, char* text0, char* text1, char* text2 ,char* text3,
  38.                  char* text4, char* text5, char* text6, char* text7, char* text8, char* text9, char* text10);
  39. void Setfocus();
  40. void Closecbutton();
  41.  
  42.  
  43. // end prototypes
  44. //***************************************************************************
  45.  
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48. // CCheckButtonApp
  49. // See CheckButton.cpp for the implementation of this class
  50. //
  51.  
  52. class CCheckButtonApp : public CWinApp
  53. {
  54. public:
  55.     CCheckButtonApp();
  56.  
  57. // Overrides
  58.     // ClassWizard generated virtual function overrides
  59.     //{{AFX_VIRTUAL(CCheckButtonApp)
  60.     //}}AFX_VIRTUAL
  61.  
  62.     //{{AFX_MSG(CCheckButtonApp)
  63.         // NOTE - the ClassWizard will add and remove member functions here.
  64.         //    DO NOT EDIT what you see in these blocks of generated code !
  65.     //}}AFX_MSG
  66.     DECLARE_MESSAGE_MAP()
  67. };
  68.  
  69.  
  70. /////////////////////////////////////////////////////////////////////////////
  71.  
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  74.  
  75. #endif // !defined(AFX_BUTTON_H__D6D63EC5_3EA4_11D3_A911_00104B9A4FD0__INCLUDED_)
  76.