Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

windowTools.h

Go to the documentation of this file.
00001 /* ***********************************************************************************
00002         Writer:         Sebastien Bloc
00003         Copyright:      2003-2004
00004         eMail:          sebastien.bloc@free.fr
00005         URL:            http://mignonsoft.free.fr
00006 
00007         This program is free software; you can redistribute it and/or
00008         modify it under the terms of the GNU General Public License
00009         as published by the Free Software Foundation; either version 2
00010         of the License, or (at your option) any later version.
00011 
00012         This program is distributed in the hope that it will be useful,
00013         but WITHOUT ANY WARRANTY; without even the implied warranty of
00014         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015         GNU General Public License for more details.
00016         http://www.gnu.org/copyleft/gpl.html
00017 *********************************************************************************** */
00018 
00023 #ifndef INCLUDE_WINDOW_TOOLS_H
00024 #define INCLUDE_WINDOW_TOOLS_H
00025 
00026 #include "windowsx.h"
00027 #include "commctrl.h"
00028 
00029 BOOL GetWindowSize(HWND hWnd,int *dx,int *dy);
00030 BOOL GetWindowPos(HWND hWnd,int *x,int *y);
00031 BOOL SetWindowSize(HWND hWndControl,int dx,int dy);
00032 LONG SetWindowStyle(HWND hWnd,int set,LONG dwStyle);
00033 void SetFullScreen(HWND hWnd,BOOL isFull,BOOL isTopMost=FALSE);
00034 void SetWindowTitle(HWND hWnd,char *title,BOOL enableTitle);
00035 BOOL ToggleCheck(HWND hWnd,int idControl);
00036 void PushButton(HWND hWnd,int idControl);
00037 void ShowMouse(BOOL active);
00038 BOOL GetDeltaWindow(HWND hWndParent,RECT *oldRect,int *deltaX,int *deltaY);
00039 BOOL SetDeltaWindowSize(HWND hWndControl,int deltaX,int deltaY);
00040 BOOL SetDeltaWindowPos(HWND hWndControl,int deltaX,int deltaY);
00041 void TreeView_ExpandAll (HWND hTree,BOOL expand,HTREEITEM rootTree=NULL);
00042 void TreeView_ExpandAll_Level (HWND hTree,BOOL expand,int levelMax,HTREEITEM rootTree=NULL);
00043 void MoveToBorderTask (HWND hUpdatingWnd);
00044 
00045 #endif

Generated on Fri Aug 20 19:19:52 2004 for 3d Controls by doxygen 1.3.6