Print Page | Close Window

EnableFrameTheme with VB6

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=22714
Printed Date: 24 November 2024 at 5:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: EnableFrameTheme with VB6
Posted By: Carlos Rocha
Subject: EnableFrameTheme with VB6
Date Posted: 05 September 2015 at 12:34pm
Hi,

I successfully use RibbonBar.EnableFrameTheme with VisualObjects for years.
Now I'm trying to mimic the same effect with VB6, but apparently it doesn't work the same way.

VisualObjects:


Visual Basic 6:


In VB6 the RibbonBar.SytemButton doesn't replace the native Windows system button.
Is there anything I'm not aware about VB6 regarding EnableFrameTheme? manifest file, some missing reference, anything...?

Thanks in advance for any thoughts



-------------
SuitePro 20.3.0
OS: Windows 10
Language: Visual Objects 2.8



Replies:
Posted By: Carlos Rocha
Date Posted: 07 September 2015 at 11:25am
Just to add that I can't get it to work with Style = xtpButtonCaption (Office 2010 style file tab) in any provided sample.
Is there any known issue with VB6 and Windows 8.1 x64? if I recall right it works with Windows 7.

May this be confirmed by a kind soul working with VB6 + Windows 8.1 x64?

Thanks


-------------
SuitePro 20.3.0
OS: Windows 10
Language: Visual Objects 2.8


Posted By: rmcmanamy
Date Posted: 14 September 2015 at 11:29am
Are you still using the 15.3.1 version?

I know the new 17.0 Beta2 there is a problem where the EnableFrameTheme call fails where it worked in the Beta1.


-------------
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0



Posted By: rmcmanamy
Date Posted: 14 September 2015 at 12:05pm
Sorry I might have been wrong and it's the EnableOffice2007Frame that is causing problems in the Beta2

-------------
Product: Xtreme SuitePro (ActiveX Unicode) version 22.0.0

Platform: Windows 11 (64bit)

Language: Visual Basic 6.0



Posted By: Carlos Rocha
Date Posted: 14 September 2015 at 8:38pm
Thanks for pulling in. Yes, I'm still with 15.3.1.
Anyway, the ugly Office 2007 big icon works, but not the nice Office 2010 one, so it's probably by design. The strange is that it works with VisualObjects Confused



-------------
SuitePro 20.3.0
OS: Windows 10
Language: Visual Objects 2.8



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