This project is read-only.

Can't set back the position for the RibbonWindow

Jun 22, 2010 at 5:16 PM
Edited Jun 22, 2010 at 5:22 PM

Hi I am trying to do the following:

this.window.Left = _config.Left; 

where window is a RibbonWindow and _config.Left is the value saved from window.RestoreBounds

Problem is that it always subtracts 4 pixels from the value I set... if I show the window several times it goes out of the screen.

I am targeting .NET 3.5 and using Fluent 1.3 (Windows XP)

Any tips?

Jun 22, 2010 at 7:10 PM

I hust handle SizeChanged and LocationChanged events, saving top, left, width and height as appropriate. No trouble at all setting them  back.


Jun 22, 2010 at 7:25 PM
For me it also works perfect if I use a normal Window (instead of RibbonWindow). That means the RibbonWindow has an issue :)