![]()  | 
 
 | 
 
    Post Reply  
   | 
  
| Author | |
   
   Jack.Lau  
   
   Groupie  
   Joined: 13 January 2010 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Problems in Using skinframework in VB2005Posted: 13 January 2010 at 7:29am  | 
 
| 
   
    
   hi:
 
   
     I am trying to use the skinframework in Visual Basic(VS2005). But it looks it didn't work well. 
   I created a MDI project, and created several forms and child forms. the MDI form and all the  
xtreme controls could be skined, but the other forms and all the child forms of the MDI form  
couldn't be skined.  
  why?.... 
  I want to know if there is any way to solve this problem.  
  thks for your help. 
Jack 
 | 
 |
![]()  | 
 |
   
   Jack.Lau  
   
   Groupie  
   Joined: 13 January 2010 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 13 January 2010 at 8:11pm | 
 
| 
   
    
   Is there anyone else meet the same questions. 
 
   
  pls help me.  
tks. 
    | 
 |
![]()  | 
 |
   
   VladimirKh  
   
   Moderator Group  
   Joined: 20 July 2009 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 18 January 2010 at 10:48am | 
 
| 
   
    
   Hi 
   
  The subject of this branch is NET WinForms controls. Are you talking about WinForms controls or ActiveX controls in MDI VB.NET? I tried to reproduce your problem in NET WinForms C# MDI project under VS2005 (Samples\ReportControl.ReportPerformanceTest). I could successfully change Theme in ReportControl control in a child window. Please send your test project if you want us to reproduce your problem and find the reason for this behavior. Regards Vladimir  | 
 |
![]()  | 
 |
   
   Jack.Lau  
   
   Groupie  
   Joined: 13 January 2010 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 21 January 2010 at 10:59pm | 
 
| 
   
    Hi Vladimir:    tks for your reply.  
   this a demo prj. 
   wish your idea. 
   tks. 
fyi... 
Visual Studio 2005 8.0.50727.42 Visual Basic Project .net framework 2.0.50727 Codejock Problems List: 1. Skinframwork couldn’t skin all the other forms except the MDI. 2. comandbars problem: windows list shows only the last mdi-child (only when there is/are codejack controls in the form, if no codejock Controls in the form(s), it’s ok) 
 3. Docking panel problem: the panels attached wins aren’t in the panels. ->first view, the wins not in the panels    -> hide-review , it’s right in the panel 
  more information , pls refer to the documents and prj files uploaded as follows: 
  uploads/20100121_225518_Problems_with_c.rar 
  uploads/20100121_225747_Project1.NET.rar 
jack    
    | 
 |
![]()  | 
 |
   
   Jack.Lau  
   
   Groupie  
   Joined: 13 January 2010 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 21 January 2010 at 11:12pm | 
 
| 
   
    ahaha. i used activex. 
can it be used for VB.net? 
i find that in your products list that there are winforms controls and activex. 
and it seems  that  it's different. 
was  i made a mistake that the activex can't be used in VB.net prj,wasn't  it? 
i was mazed. 
 | 
 |
![]()  | 
 |
   
   Jack.Lau  
   
   Groupie  
   Joined: 13 January 2010 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 21 January 2010 at 11:13pm | 
 
| 
   
    because in winforms controls there are no skinframwwork controls and some other controls.  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 01 February 2010 at 9:24am | 
 
| 
   
    
   
Hello, 
   
  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); } }  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 01 February 2010 at 5:48pm | 
 
| 
   
    
   Did this solve your problem?
    
   
   | 
 |
![]()  | 
 |
   
   Jack.Lau  
   
   Groupie  
   Joined: 13 January 2010 Status: Offline Points: 10  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 01 February 2010 at 9:57pm | 
 
| 
   
    
   yes,  i had already got it.  though, tks you very much, beauty SuperMario.
    
   
   | 
 |
![]()  | 
 |
    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  |