StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



View security and anchorExpand / Collapse
Author
Message
Posted 10/14/2007 12:15:26 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 9:43:40 AM
Posts: 431, Visits: 1,615
Hi,
I have a control, positioned at the middle of screen, and its anchor set 'Left, Bottom, Right, Top". While form resized, it will be resized according to fit the form as well. It is working fine even I resize my form.

However, when I login using authorized user, form is locked. Once I relogin using authorized user (without close the form), this control size would be resized incorrectly. It's height will be increased till bottom of form.

Any ideas?
Post #11965
Posted 10/15/2007 9:52:50 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
Not at the moment, I'll have to run a test on that and see what is causing it... most likely something in the SetVisibleCore() is causing problems.


www.bungie.net
Post #11984
Posted 10/15/2007 8:09:20 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Today @ 9:43:40 AM
Posts: 431, Visits: 1,615
Hi
May I know how does SF lock form? Which method should I refer to?

Thank you
Post #12010
Posted 10/16/2007 9:27:07 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
Do you mean how does SF lock the form?  It creates a panel, places it on top of all other controls on the form and anchors it.  If you look within the Security project source code, it's in the SessionLock class: a method called LockForm().


www.bungie.net
Post #12024
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 1:19pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.