Print Page | Close Window

Ribbon make good But whithout icons or bitmaps

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=18501
Printed Date: 06 October 2024 at 12:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon make good But whithout icons or bitmaps
Posted By: mistersoft
Subject: Ribbon make good But whithout icons or bitmaps
Date Posted: 06 June 2011 at 4:08pm
Hello word,

I am newest in this forum, this is my first experience with CJ, and i have v15.

I work under "WINDEV 15" platform with CJ.OCX and have much problems with icons and bitmaps.

I cannot have any image in my ribbon.

- CommandBarsGlobalSettings.ResourceImages.LoadFromFile :  Make me GPF error.

- CommandBars.Icons.LoadBitmap(resDir + "GroupIcons.bmp", New Object() {ID_GROUP_CLIPBOARD, ID_GROUP_FONT, ID_GROUP_PARAGRAPH, ID_GROUP_FIND}, XtremeCommandBars.XTPImageState.xtpImageNormal) : make me error of TYPE in the second parameter (ARRAY).

Is there any solution, is there any person here who work with WINDEV.

I am blocked. Please Help.

thanks
 



Replies:
Posted By: Oleg
Date Posted: 07 June 2011 at 1:43am
Hi,

Try set single bitmap for single id:

CommandBars.Icons.LoadBitmap(resDir + "GroupIcons.bmp", ID_GROUP_CLIPBOARD, XtremeCommandBars.XTPImageState.xtpImageNormal) 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Oleg
Date Posted: 07 June 2011 at 1:43am
Also check, maybe ImageManager ActiveX control will work for WinDev. 

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mistersoft
Date Posted: 07 June 2011 at 1:35pm
ok, thanks for you,

I will check this.

For ImageManager, i dont know and dont test it.

So for having a good teacher, i use vb6 sample supplied with the package.

I know that many of members of the ocx isn't detected by windev for example :

If i want to define the licence by :

CommandBarsGlobalSettings.Licence, Windev says that CommandBarsGlobalSettings isn't a member of the OCX.

One other thing, the language can't be defined when i use SuitePro.ResourceFr.dll (For French).

May be, it's me, i dont know but i will continue.

regards.



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