The Layout state class is for notification only and is mostly for convenience so you don't have to constantly look at your hosted application's windows size and try to calculate which layout you need to display. There is no use in attempting to use it to size a window. The only way to do that is to change the window's height and width. But that will already be done for you by SmartCenter.
Hi,
I like to enforce the Window that when it starts up it should appear in the Large Layout. I've tried that in the Window Loaded and Window Rendered Event with
this.SmartCenterSupport.Layout = HP.TouchSmart.Library.SCHelpers.LayoutState.Large;
However it doesn't work. Does anybodz know a solution?
Best regards,
Andre
...unless of course you are resuming the touchsmart from sleep (S1), at which point the previously-maximized Touchsmart UI gets minimized to the task bar.
Nice job from HP NOT using the native Windows event hooks to make sure the window retains it's maximized state on resume from sleep. It's somewhat laughable that this was overlooked and has not been addressed. i've called it in to HP several times, they have acknowledged it, but it's still not fixed as of the latest shell update.
RSS

