OUR NETWORK:MediaSmart Home Sansa Community Explore3DTV TechLore RoboCommunity Dijit Community About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 92643.3
February 9, 2010 07:10 PM
Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

AndreWolf

Member
Joined: 01/13/2010

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

Discussion:    Add a Comment | Comments 1-2 of 2 | Latest Comment

February 10, 2010 9:43 AM

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.

February 10, 2010 10:53 AM

...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.

Discussion:    Add a Comment | Comments 1-2 of 2 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window