Resize a window with a ToolBar

[quote=142402:@shao sean]wMain.Top = 0 wMain.Left = 0 wMain.Height = The_Canvas.Backdrop.Height wMain.Width = The_Canvas.Backdrop.Width[/quote]

remove the first 2 lines.

Richard:

since I want that window to be placed at 0,0 (just below the MenuBar/at the top of the windows on Windows), I have to use Realbasic.Rect to set the bounds.

Now the trouble is over, I only have to remove the useless code (if any).

Thanks a lot to all !