![]() |
big problem in vb.net |
Post Reply
|
| Author | |
mr.net
Groupie
Joined: 26 August 2009 Location: Egypt Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Topic: big problem in vb.netPosted: 14 March 2010 at 9:01am |
|
hello ::
We have a big problem in skinframe work in visual basic.net 2008
i use this code
skn.LoadSkin(CurDir() + "\Royale.msstyles", "")skn.ApplyWindow( Me.Handle.ToInt32)this code work good in main form olny but not aplly in others forms in the project i want solve this problem please thanks
----------------------------
|
|
![]() |
|
tobi
Senior Member
Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 March 2010 at 10:03am |
|
Perhaps this may help:
http://forum.codejock.com/forum_posts.asp?TID=15996 |
|
![]() |
|
mr.net
Groupie
Joined: 26 August 2009 Location: Egypt Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 March 2010 at 10:45am |
|
uploads/20100121_225518_Problems_with_c.rar
uploads/20100121_225747_Project1.NET.rar
the url download of examples doesn`t work
please upload here
thx
|
|
![]() |
|
tobi
Senior Member
Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 March 2010 at 10:51am |
|
With .NET languages you have to manually apply skin for each toplevel
window.
Just add these lines protected override void OnVisibleChanged(EventArgs e) { base.OnVisibleChanged(e); if (this.Visible) { frmMain.skinFramework.ApplyWindow(this.Handle.ToInt32()); this.BackColor = skinFramework.GetColor(XtremeSkinFramework.XTPColorManagerColor.STDCOLOR_BTNFACE); } } |
|
![]() |
|
mr.net
Groupie
Joined: 26 August 2009 Location: Egypt Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 March 2010 at 8:59pm |
|
i want using in vb.net don`t c++ please help me
thx |
|
![]() |
|
tobi
Senior Member
Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 March 2010 at 3:18am |
|
Can you upload your test project here ?
|
|
![]() |
|
mr.net
Groupie
Joined: 26 August 2009 Location: Egypt Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 April 2010 at 10:35pm |
|
thx i slove the problem by test and soultion is write this code in other forms load action
form1.skn.ApplyWindow(Me.Handle.ToInt32)
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |