Esempio n. 1
0
 public bool SetPosition(HwndZOrder order, int x, int y, int width, int height, WindowPositionFlags flags)
 {
     return(User32Helpers.SetWindowPos(this.Handle, order, x, y, width, height, flags));
 }
Esempio n. 2
0
 void UpdateBar( )
 {
     User32Helpers.SetWindowPos( Handle , HwndZOrder.HWND_TOPMOST
         , 0 , BarY , ScreenGeom.Width , BarHeight ,
         WindowPositionFlags.SWP_SHOWWINDOW | WindowPositionFlags.SWP_NOACTIVATE | WindowPositionFlags.SWP_NOSENDCHANGING );
 }