|
|
@@ -23,9 +23,14 @@
|
|
|
// Peter Bartok [email protected]
|
|
|
//
|
|
|
//
|
|
|
-// $Revision: 1.24 $
|
|
|
+// $Revision: 1.25 $
|
|
|
// $Modtime: $
|
|
|
// $Log: XplatUIDriver.cs,v $
|
|
|
+// Revision 1.25 2004/10/18 04:50:54 pbartok
|
|
|
+// - Added method for enabling/disabling windows
|
|
|
+// - Added method for setting window modality
|
|
|
+// - Added method for setting topmost window
|
|
|
+//
|
|
|
// Revision 1.24 2004/10/02 19:07:36 pbartok
|
|
|
// - Added ClientToScreen coordinate translation method
|
|
|
//
|
|
|
@@ -191,6 +196,8 @@ namespace System.Windows.Forms {
|
|
|
internal abstract void SetWindowPos(IntPtr handle, int x, int y, int width, int height);
|
|
|
internal abstract void GetWindowPos(IntPtr handle, out int x, out int y, out int width, out int height, out int client_width, out int client_height);
|
|
|
internal abstract void Activate(IntPtr handle);
|
|
|
+ internal abstract void EnableWindow(IntPtr handle, bool Enable);
|
|
|
+ internal abstract void SetModal(IntPtr handle, bool Modal);
|
|
|
internal abstract void Invalidate(IntPtr handle, Rectangle rc, bool clear);
|
|
|
internal abstract IntPtr DefWndProc(ref Message msg);
|
|
|
internal abstract void HandleException(Exception e);
|
|
|
@@ -201,6 +208,7 @@ namespace System.Windows.Forms {
|
|
|
internal abstract bool DispatchMessage(ref MSG msg);
|
|
|
|
|
|
internal abstract bool SetZOrder(IntPtr hWnd, IntPtr AfterhWnd, bool Top, bool Bottom);
|
|
|
+ internal abstract bool SetTopmost(IntPtr hWnd, bool Enabled);
|
|
|
|
|
|
internal abstract bool CalculateWindowRect(IntPtr hWnd, ref Rectangle ClientRect, int Style, bool HasMenu, out Rectangle WindowRect);
|
|
|
|