guixhook.h
来自「开放源码的编译器open watcom 1.6.0版的源代码」· C头文件 代码 · 共 76 行
H
76 行
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
#ifndef _GUIXHOOK_H_
#define _GUIXHOOK_H_
#ifdef __WINDOWS_386__
#define _DLLFAR
#else
#define _DLLFAR FAR
#endif
extern void GUISetMDIProcessMessage( bool (*func)(gui_window *, HWND, WPI_MSG, WPI_PARAM1, WPI_PARAM2, WPI_MRESULT *) );
extern bool GUIMDIProcessMessage( gui_window *wnd, HWND hwnd, WPI_MSG msg,
WPI_PARAM1 wparam, WPI_PARAM2 lparam, WPI_MRESULT *ret );
extern void GUISetMDIMaximized( bool (*func)( gui_window *) );
extern bool GUIMDIMaximized( gui_window *wnd );
extern void GUISetMDIUpdatedMenu( bool (*func)( void ) );
extern bool GUIMDIUpdatedMenu( void );
extern void GUISetMDINewWindow( int (*func)(HWND) );
extern int GUIMDINewWindow( HWND );
extern void GUISetMDIMaximize( void (*func)(bool, gui_window *) );
extern void GUIMDIMaximize( bool max, gui_window *wnd );
extern void GUISetSetMDIRestoredSize( void (*func)(HWND, WPI_RECT *) );
extern void GUISetMDIRestoredSize( HWND hwnd, WPI_RECT *);
extern void GUISetIsMDIChildWindow( bool (*func)( gui_window *) );
extern bool GUIIsMDIChildWindow( gui_window *wnd );
extern void GUIResizeStatus( gui_window *wnd );
extern void GUISetResizeStatus( void (*func)( gui_window * ) );
extern void GUIFreeStatus( void );
extern void GUISetFreeStatus( void (*func)( void ) );
/* 3D control functions */
#if defined( __WINDOWS__ ) || defined( __NT__ ) || define(WILLOWS)
extern void GUISetCtl3dUnregister( BOOL _DLLFAR PASCAL (*func)(HANDLE) );
extern void GUISetCtl3dSubclassDlg( BOOL _DLLFAR PASCAL (*func)( HWND ,WORD ) );
extern void GUISetCtl3dColorChange( BOOL _DLLFAR PASCAL (*func)(void));
extern void GUISetCtl3dSubclassCtl( BOOL _DLLFAR PASCAL (*func)(HWND) );
extern void GUISetCtl3dCtlColorEx( HBRUSH _DLLFAR PASCAL (*func)(UINT, WPARAM, LPARAM) );
#endif
extern BOOL GUICtl3dUnregister( void );
extern BOOL GUICtl3dSubclassDlg( HWND hwnd, WORD word );
extern BOOL GUICtl3dSubclassCtl( HWND hwnd );
extern BOOL GUICtl3dColorChange( void );
extern HBRUSH GUICtl3dCtlColorEx( UINT wm, WPARAM wp, LPARAM lp );
#endif // _GUIXHOOK_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?