Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - big problem in vb.net
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

big problem in vb.net

 Post Reply Post Reply
Author
Message
mr.net View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2009
Location: Egypt
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mr.net Quote  Post ReplyReply Direct Link To This Post Topic: big problem in vb.net
    Posted: 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
----------------------------
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2010 at 10:03am
Perhaps this may help:

http://forum.codejock.com/forum_posts.asp?TID=15996
Back to Top
mr.net View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2009
Location: Egypt
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mr.net Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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);
   }
  }
Back to Top
mr.net View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2009
Location: Egypt
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mr.net Quote  Post ReplyReply Direct Link To This Post Posted: 29 March 2010 at 8:59pm
i want using in vb.net don`t c++ please help me
thx

Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2010 at 3:18am
Can you upload your test project here ?
Back to Top
mr.net View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2009
Location: Egypt
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mr.net Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.