Skinframework with Commandbars |
Post Reply |
Author | |
ikaney
Newbie Joined: 15 June 2007 Location: United Kingdom Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 15 June 2007 at 10:40am |
Hi, I've submitted this question to support but haven't heard anything as of yet. I had an application that was using commandbars and the ribbon and working beautifully written in VB.NET 2005. I then decided I was going to use the skinframework so message boxes, buttons, etc. all fitted in nicely with the look and feel of the application.I am finding however that the form gets all messed up when I apply the skin, specifically if I set the applyoptions to skin the frame. I disable skinning the frame and it stops the form being messed up but the title is missing at the top of the form on the ribbon.
Is there something I'm missing? I've attempted to use removewindow/removewindowclass to stop it skinning the troublesome component (ribbon) but neither of these methods seems to actually do anything?
If I need to just disable frame skinning is there a way for me to get messages boxes skinned seperately perhaps?
And lastly, I'd like to be able to use the skinframework without needing a control put on the form. I'm not sure if this is possible though... I get error messages when I try.
Any ideas? Thanks in advance for any help.
|
|
apuhjee
Senior Member Joined: 02 September 2005 Location: United States Status: Offline Points: 130 |
Post Options
Thanks(0)
|
I like mathematics because it is not human and has nothing particular
to do with this planet or with the whole accidental universe — because, like Spinoza's God, it won't love us in return. |
|
ikaney
Newbie Joined: 15 June 2007 Location: United Kingdom Status: Offline Points: 14 |
Post Options
Thanks(0)
|
I have looked at your example project but I'm having issues integrating the ideas into my system which is on VB.NET.
Do you know exactly what method is being used to overcome the problem, is it a certain call or way of building/executing the code.
Thanks in advance for your help.
|
|
apuhjee
Senior Member Joined: 02 September 2005 Location: United States Status: Offline Points: 130 |
Post Options
Thanks(0)
|
I don't currently have access to my dev machine, and there is a free Smoking Popes and The Walkmen show tonight (read: getting piss drunk)... but I'll convert this project to VB.NET for you on Monday.
|
|
ikaney
Newbie Joined: 15 June 2007 Location: United Kingdom Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Looking at your code I've finally worked out how to fix the issues with the messed up forms and have the application skin the message boxes correctly, etc. The only issue I now see is that the caption of the main form doesn't show like it should? Are there any fixes or workarounds for this that you know of?
|
|
apuhjee
Senior Member Joined: 02 September 2005 Location: United States Status: Offline Points: 130 |
Post Options
Thanks(0)
|
Take a look at this VB.NET project and see if it has the solution to your problem. |
|
ikaney
Newbie Joined: 15 June 2007 Location: United Kingdom Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Brilliant!
My eternal thanks for the VB.Net project, I've got mine now playing ball just like yours!
There's just that minor issue that still isn't addressed whereby the form title isn't "painted" correctly onto the form in the frame.
Before I used the skin framework the ribbonbar frame would have the form caption at the top, it no longer does this.
I've submitted a ticket but if anybody has any ideas please let me know
|
|
apuhjee
Senior Member Joined: 02 September 2005 Location: United States Status: Offline Points: 130 |
Post Options
Thanks(0)
|
The only problem that I've had with the caption was when it didn't update after child forms were added to the MDI parent (which was fixed in 11.1.3). Are you seeing something different than what I'm getting?
|
|
ikaney
Newbie Joined: 15 June 2007 Location: United Kingdom Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Yes, the project you sent me doesn't seem to skin the frame as the example you have sent and I can't get a caption to appear.
It seems to be using the Vista frames?
Here's a screenshot:
|
|
ikaney
Newbie Joined: 15 June 2007 Location: United Kingdom Status: Offline Points: 14 |
Post Options
Thanks(0)
|
I've finally worked it out.
The commandbars enableframetheme() function doesn't work on Vista. I've even downloaded the sample applications from the web site and it doesn't skin it as per Office 2007.
I'll add this to my support ticket and see what they say.
Thanks for all your help, that screenshot is what helped
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Its not bug, Its feature :). In vista it have look like screenshot. try Word 2007.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ikaney
Newbie Joined: 15 June 2007 Location: United Kingdom Status: Offline Points: 14 |
Post Options
Thanks(0)
|
You are correct! The skinning is correct on Vista, my mistake!
The only issue that remains is the form caption/title doesn't display on Vista on these ribbon bar forms.
|
|
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 |