home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / componen / interact / demo / data.2 / samples / ansic / INTERACT / X.BAK < prev    next >
Encoding:
Text File  |  1996-02-19  |  2.2 KB  |  94 lines

  1. //lRegen_FileHeading
  2. #define __USESCREEN
  3. //lRegen_FileHeading
  4.  
  5.  
  6.      /********************************************************************
  7.       *
  8.       *   Source File:  idoiface.h
  9.       *   Author:
  10.       *   Module:       Header file for idoiface application
  11.       *   Program Desc:
  12.       *   Date:         Tue Nov 28 11:30:32 1995
  13.       *   Language:     ANSI C
  14.       *
  15.       ********************************************************************/
  16.  
  17. #include <windows.h>
  18. #include "screen.h"
  19. #include <time.h>
  20.  
  21. #include ".\Resource.h"
  22. #include "stdlib.h"
  23. #include "commdlg.h"
  24.  
  25.  
  26.  
  27. extern HINSTANCE   hInstance;
  28. extern char        szAppName[30];
  29. #define EXPORT __export
  30.  
  31. BOOL CALLBACK EXPORT CloseEnumProc(HWND, LONG);
  32. extern HMENU       hMenuInit;
  33. extern HWND        hWndClient, hWndFrame;
  34. #define     MAIN_POS  5
  35. extern HMENU       hMenu_MAIN_Pos;
  36.  
  37.  
  38. //lRegen_Header
  39.  
  40. #include <pvido.h>
  41. //#include <oldnames.h>
  42.  
  43. #include ".\iface.h"
  44.  
  45. typedef struct
  46. {
  47.    HINSTANCE hApp;
  48.    HINSTANCE hIDOdll;
  49.    UINT      uIDido;
  50.    HWND      hWndIDO;
  51. } GLOBAL_IDO_DATA, FAR * LPGLOBAL_IDO_DATA;
  52.  
  53. GLOBAL_IDO_DATA gData;
  54.  
  55.  
  56. #define IDC_IDO    799
  57.  
  58. #define POP_IDM_USERSTART 500
  59.  
  60. HWND GetActiveIDO();
  61. void DisplayDSL(LPSTR);
  62.  
  63. HWND GetColorPaletteWnd();
  64. void ReadColor();
  65.  
  66. HWND GetAlignPaletteWnd();
  67.  
  68. //lRegen_Header
  69.  
  70. // Function prototypes for dialog and subdialog modules
  71. int fnAboutidoiface(HWND, UINT, void FAR *);
  72. int fnidodialog(HWND, UINT, void FAR *);
  73. int fnaddentity(HWND, UINT, void FAR *);
  74. int fndeleteentity(HWND, UINT, void FAR *);
  75. int fnaddrelation(HWND, UINT, void FAR *);
  76. int fnsettext(HWND, UINT, void FAR *);
  77. int fncurrententity(HWND, UINT, void FAR *);
  78. int fnBanner(HWND, UINT, void FAR *);
  79. int fnaligner(HWND, UINT, void FAR *);
  80. int fncolorset(HWND, UINT, void FAR *);
  81. int fndelrel(HWND, UINT, void FAR *);
  82. // Prototypes for Visual Coder functions
  83.  
  84. // Function prototypes for toolbar window functions
  85. LRESULT CALLBACK EXPORT fnTopToolbarWndProc(HWND, UINT, WPARAM, LPARAM);
  86.  
  87. LRESULT CALLBACK EXPORT fnStatusLineWndProc(HWND, UINT, WPARAM, LPARAM);
  88.  
  89.  
  90. // Global declarations for modeless dialog box windows
  91. extern HWND hDlgaligner;
  92. extern HWND hDlgcolorset;
  93.  
  94.