Window Layout Manager: doesn't position upper left correctly

I've noticed that the window layout manager doesn't properly position the upper-left corner or my application's windows.

I have some fairly wide windows, but there are narrow enough to fit on the screen. However, most times when the window is created, the layout manager positions the upper left corner such that some of the right part of my window is cut off. I always have to drag the window back onto the screen to see the whole thing.

Do I need to set something to fix this Or is this a bug



Answer this question

Window Layout Manager: doesn't position upper left correctly

  • dustin1

    Redburga,

    The default location for a Window when it is shown comes from the system default. You can find out pretty easily whether or not this is a bug by trying to create a window with the same dimensions using Win32 or Windows Forms -- if the behavior is different, there is likely a bug. I'd be happy to take a look at your source files if you are willing to send them.

    If you would like to override the default location of a Window when it is shown, you can set the Top and Left properties explicitly or change the value of Window.WindowStartupLocation.

    Hope this helps,
    Lauren [MS]



  • Window Layout Manager: doesn't position upper left correctly