/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/FWSETUP/CTL3D.H__   1.3   03 Apr 1997 15:36:28   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/FWSETUP/CTL3D.H__  $
** 
**    Rev 1.3   03 Apr 1997 15:36:28   ZJRD
** No change.
** 
**    Rev 1.2   27 Mar 1997 15:21:46   ZJRD
** No change.
** 
**    Rev 1.1   19 Mar 1997 11:49:26   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 15:02:16   ZJRD
** Initial revision.
** 
**    Rev 1.7.1.0.1.2   09 Dec 1996 10:17:12   ZJRD
** EasyPack/SLD Version 2.0P
** 
**    Rev 1.7.1.0.1.0   11 Nov 1996 13:00:28   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.7.1.4   09 Sep 1996 13:21:08   ZJRD
** No change.
** 
**    Rev 1.7.1.3   05 Sep 1996 11:32:36   ZJRD
** EasyPack/SLD Version 1.9e
** 
**    Rev 1.7.1.1   28 Aug 1996 15:46:36   ZJRD
** No change.
** 
**    Rev 1.7.1.0   12 Aug 1996 10:51:30   ZJRD
** EasyPack/SLD Version 1.98
** 
**    Rev 1.5   05 Jun 1996 14:53:34   ZJRD
** No change.
** 
**    Rev 1.4   29 May 1996 09:32:20   ZJRD
** No change.
** 
**    Rev 1.3   16 May 1996 09:03:32   ZJRD
** No change.
** 
**    Rev 1.2   10 May 1996 09:12:26   ZJRD
** No change.
** 
**    Rev 1.1   02 May 1996 10:27:22   ZJRD
** EasyPack/SLD Version 1.92
** 
**    Rev 1.1   18 Apr 1996 13:01:04   Shirley
** No change.
** 
**    Rev 1.0   12 Apr 1996 10:38:04   Shirley
** Initial revision.
** 
****************************************************************************/

/////////////////////////////////////////////////////////////////////////////
//
//  File name:  CTL3D.H
//
//  Description:The header file for the class: CTL3D.
//
//  Author:     Chen Jun
//
//  Date:       02/05/96
//
//  Modification:
//
//      1. 02/05/95, Initial version 
//
//
//  Copyright (C) 1995 Microtek International. All rights reserved.
//
/////////////////////////////////////////////////////////////////////////////

/*-----------------------------------------------------------------------
|   CTL3D.DLL
|
|   Adds 3d effects to Windows controls
|
|   See ctl3d.doc for info
|
-----------------------------------------------------------------------*/
#ifndef _CTL3D_H_
#define _CTL3D_H_

#ifdef __cplusplus
extern "C" {
#endif


BOOL WINAPI Ctl3dSubclassDlg(HWND, WORD);
BOOL WINAPI Ctl3dSubclassDlgEx(HWND, DWORD);
WORD WINAPI Ctl3dGetVer(void);
BOOL WINAPI Ctl3dEnabled(void);
HBRUSH WINAPI Ctl3dCtlColor(HDC, LONG); // ARCHAIC, use Ctl3dCtlColorEx
HBRUSH WINAPI Ctl3dCtlColorEx(UINT wm, WPARAM wParam, LPARAM lParam);
BOOL WINAPI Ctl3dColorChange(void);
BOOL WINAPI Ctl3dSubclassCtl(HWND);
LONG WINAPI Ctl3dDlgFramePaint(HWND, UINT, WPARAM, LPARAM);

BOOL WINAPI Ctl3dAutoSubclass(HANDLE);

BOOL WINAPI Ctl3dRegister(HANDLE);
BOOL WINAPI Ctl3dUnregister(HANDLE);

//begin DBCS: far east short cut key support
VOID WINAPI Ctl3dWinIniChange(void);
//end DBCS


/* Ctl3dSubclassDlg3d flags */
#define CTL3D_BUTTONS       0x0001
#define CTL3D_LISTBOXES     0x0002
#define CTL3D_EDITS         0x0004
#define CTL3D_COMBOS            0x0008
#define CTL3D_STATICTEXTS   0x0010
#define CTL3D_STATICFRAMES  0x0020

#define CTL3D_NODLGWINDOW       0x00010000
#define CTL3D_ALL               0xffff

#define WM_DLGBORDER (WM_USER+3567)
/* WM_DLGBORDER *(int FAR *)lParam return codes */
#define CTL3D_NOBORDER      0
#define CTL3D_BORDER            1

#define WM_DLGSUBCLASS (WM_USER+3568)
/* WM_DLGSUBCLASS *(int FAR *)lParam return codes */
#define CTL3D_NOSUBCLASS    0
#define CTL3D_SUBCLASS      1

/* Resource ID for 3dcheck.bmp (for .lib version of ctl3d) */
#define CTL3D_3DCHECK 26567


#ifdef __cplusplus
}
#endif

#endif
