home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / SAMPLES / DBWIN / DBWIN.H_ / DBWIN.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.3 KB  |  46 lines

  1. #include <windows.h>
  2. #include <windowsx.h>
  3. #include <commdlg.h>
  4. #include <toolhelp.h>
  5. #include "dbwindll.h"
  6. #include "resource.h"
  7.  
  8. //----- Standard command ID aliases
  9.  
  10. #define CTL_OK                  IDOK
  11. #define CTL_CANCEL              IDCANCEL
  12.  
  13. // Message sent when second instance of app is run,
  14. // in order to activate first instance.
  15. //
  16. #define WM_ACTIVATEFIRST        WM_USER
  17.  
  18. //----- Function declarations
  19.  
  20. BOOL DBWinInit(HINSTANCE hinst, HINSTANCE hinstPrev, int sw, LPSTR szCmdLine);
  21. void DBWinTerminate(BOOL fEndSession);
  22. LRESULT CALLBACK _export DBWinWndProc(HWND hwnd, UINT uiMessage, WPARAM wParam, LPARAM lParam);
  23.  
  24. void DoCommand(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
  25.  
  26. BOOL CALLBACK _export NotifyCallback(UINT id, DWORD dwData);
  27. BOOL SaveBuffer(HWND hwnd);
  28.  
  29. void OnBufferNotEmpty(void);
  30.  
  31. UINT CmdFromMode(UINT mode);
  32. UINT ModeFromCmd(UINT cmd);
  33.  
  34. void DoInitMenu(HWND hwnd);
  35. void SetTopmost(HWND hwnd, BOOL fTopmost);
  36. void WriteDBWinState(HWND hwndMain);
  37. void ReadDBWinState(HWND hwndMain);
  38.  
  39. void DoDebugOptions(HWND hwnd);
  40. void DoSaveOptions(HWND hwnd);
  41. void DoAllocBrk(HWND hwnd);
  42. BOOL IsDebugSystem(HWND hwnd);
  43.  
  44. void DoAbout(HWND hwnd);
  45. BOOL CALLBACK _export AboutDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
  46.