00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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