home *** CD-ROM | disk | FTP | other *** search
/ synchro.net / synchro.net.tar / synchro.net / main / BBS / ODOORS62.ZIP / ODFrame.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-19  |  2.3 KB  |  59 lines

  1. /* OpenDoors Online Software Programming Toolkit
  2.  * (C) Copyright 1991 - 1999 by Brian Pirie.
  3.  *
  4.  * This library is free software; you can redistribute it and/or
  5.  * modify it under the terms of the GNU Lesser General Public
  6.  * License as published by the Free Software Foundation; either
  7.  * version 2 of the License, or (at your option) any later version.
  8.  *
  9.  * This library is distributed in the hope that it will be useful,
  10.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12.  * Lesser General Public License for more details.
  13.  *
  14.  * You should have received a copy of the GNU Lesser General Public
  15.  * License along with this library; if not, write to the Free Software
  16.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  17.  *
  18.  *
  19.  *        File: ODFrame.h
  20.  *
  21.  * Description: Defines the public interface to the OpenDoors frame window.
  22.  *              This file is only applicable when building the Win32 version
  23.  *              of OpenDoors.
  24.  *
  25.  *   Revisions: Date          Ver   Who  Change
  26.  *              ---------------------------------------------------------------
  27.  *              Aug 20, 1995  6.00  BP   Created.
  28.  *              Jan 20, 1996  6.00  BP   Made ODFrameCenter...() shared.
  29.  *              Feb 17, 1996  6.00  BP   Add ...Accelerator() return value.
  30.  *              Feb 19, 1996  6.00  BP   Changed version number to 6.00.
  31.  *              Mar 03, 1996  6.10  BP   Begin version 6.10.
  32.  */
  33.  
  34. #ifndef _INC_ODFRAME
  35. #define _INC_ODFRAME
  36.  
  37. #include "ODPlat.h"
  38. #include "ODGen.h"
  39.  
  40. #ifdef ODPLAT_WIN32
  41.  
  42. /* Public frame window functions. */
  43. tODResult ODFrameStart(HANDLE hInstance, tODThreadHandle *phFrameThread);
  44. INT ODFrameGetUsedClientAtTop(HWND hwndFrame);
  45. INT ODFrameGetUsedClientAtBottom(HWND hwndFrame);
  46. BOOL ODFrameTranslateAccelerator(HWND hwndFrame, LPMSG pMsg);
  47. void ODFrameUpdateCmdUI(void);
  48. void ODFrameUpdateTimeDisplay(void);
  49. void ODFrameUpdateWantChat(void);
  50. void ODFrameCenterWindowInParent(HWND hwndChild);
  51.  
  52. /* User defined messages that are handled by the frame window. */
  53. #define WM_SHOW_MESSAGE             (WM_USER + 1)
  54. #define WM_REMOVE_MESSAGE           (WM_USER + 2)
  55.  
  56. #endif /* ODPLAT_WIN32 */
  57.  
  58. #endif /* _INC_ODFRAME */
  59.