Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_windows_forms thread: destop resizing.


Message #1 by Terrence Joubert <Terrence@v...> on Thu, 8 Aug 2002 16:01:20 +0400
Hi everyone,

 

I am developing a Windows Form application. On load the Form object f must
dock itself to the top border of the desktop (f.Location = New
System.Drawing.Point(0, 0)), set its width to the desktop width (f.Width 
Screen.PrimaryScreen.Bounds.Width) and resize the desktop such that no other
window can cover it and so that it does not cover any other window either
(?) Basically, any other window that will be maximized must not extend it
top part further than the y coordinate that is the height of window f. 

 

Does anyone know how I can achieve this? I think that I must do some sort of
API call here, but I am not sure which API function.

 

Thanks for any help you may provide.

 

Terrence J. Joubert

Software Engineer

VCS, PO BOX 1000

Victoria

 



  Return to Index