Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Ribbon make good But whithout icons or bitmaps
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon make good But whithout icons or bitmaps

 Post Reply Post Reply
Author
Message
mistersoft View Drop Down
Groupie
Groupie


Joined: 06 June 2011
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mistersoft Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon make good But whithout icons or bitmaps
    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
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2011 at 1:43am
Also check, maybe ImageManager ActiveX control will work for WinDev. 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mistersoft View Drop Down
Groupie
Groupie


Joined: 06 June 2011
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mistersoft Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.