Print Page | Close Window

[SOLVED] MDI Skinning Issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17297
Printed Date: 12 May 2024 at 4:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] MDI Skinning Issue
Posted By: Hemesh
Subject: [SOLVED] MDI Skinning Issue
Date Posted: 22 September 2010 at 10:33am
Hi,
Has anyone seen this issue before?

All skinned nicely (VB6 ide and in compiled exe)



Result of a message box from a child form after the OK click.  This is in the VB6 ide *AND* the compiled exe!


Note the same happens after clicking OK in the VB6 ide after a msgbox straight from the menu (ok in the compiled exe).

I tried a couple of skins just to check but it does it on all of them.


I've uploaded some Demo Code.  Its very very basic and shows the issue every time
http://forum.codejock.com/uploads/6296/CodeJockMDIissue.zip - uploads/6296/CodeJockMDIissue.zip

Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0



Replies:
Posted By: Hemesh
Date Posted: 22 September 2010 at 10:44am
Quick update.  It also does this for the latest version V13.4.1

-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0


Posted By: SuperMario
Date Posted: 22 September 2010 at 11:16am
Don't skin the ribbon.....ribbon handles all skinning for main frame.

    SkinFramework1.LoadSkin App.Path & "\Styles\" & "Office2007.cjstyles", "NORMALBLACK.INI"
    SkinFramework1.ApplyOptions = xtpSkinApplyMetrics Or xtpSkinApplyFrame Or xtpSkinApplyColors Or xtpSkinApplyMenus
    CommandBarsGlobalSettings.Office2007Images = App.Path & "\Styles\" & "Office2007Black.dll"

    CommandBars1.EnableActions

    With CommandBars1.Options
        .KeyboardCuesShow = xtpKeyboardCuesShowAlways
        .KeyboardCuesUse = xtpKeyboardCuesUseNone
        .ShowKeyboardTips = True
    End With

.......


Posted By: Hemesh
Date Posted: 23 September 2010 at 4:14am
That did it thanks!

That had got left in as I was deciding between between using the ribbon bar (with the system button) or just the command bars.

One of those frustrating doh! moments.


-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net