]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - window.h
2002-11-25 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
[cygwin-apps/setup.git] / window.h
index 2a0115189808083c875cd1bf1622816c14761064..c71d922e0f0133fd39d6d3ba99c95b7543309ad3 100644 (file)
--- a/window.h
+++ b/window.h
@@ -29,7 +29,6 @@ class Window
   static ATOM WindowClassAtom;
   static HINSTANCE AppInstance;
 
-
   bool RegisterWindowClass ();
   static LRESULT CALLBACK FirstWindowProcReflector (HWND hwnd, UINT uMsg,
                                                    WPARAM wParam,
@@ -105,12 +104,20 @@ public:
     return false;
   };
 
+  RECT GetWindowRect() const;
+  RECT GetClientRect() const;
+
   // Center the window on the parent, or on screen if no parent.
   void CenterWindow ();
 
+  // Reposition the window
+  bool MoveWindow(long x, long y, long w, long h, bool Repaint = true);
+
   // Set the title of the window.
   void SetWindowText (const String & s);
 
+  RECT ScreenToClient(const RECT &r) const;
 };
 
 #endif // CINSTALL_WINDOW_H
This page took 0.021326 seconds and 5 git commands to generate.