Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Ribbon & Icon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon & Icon

 Post Reply Post Reply
Author
Message
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon & Icon
    Posted: 08 May 2006 at 6:05pm

Hi,

how can I have a ribbon look like the sample bellow, using imagelist control. I checked the sample used by codejock but it's not clear enough, plus the imagelist control is not used.

Thank you,

Back to Top
apuhjee View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 September 2005
Location: United States
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote apuhjee Quote  Post ReplyReply Direct Link To This Post Posted: 08 May 2006 at 6:29pm

I know that Oleg already mentioned this, but use of the ImageList control is deprecated. If you still absolutely insist on using an ImageList, I'm pretty sure there is a method somewhere that takes care of the conversion for you.

Also - this control is brand new! Some of the things you are wishing to do may simply not be possible yet. But don't worry - if you take a look at all the features added to the Calendar control in the latest release, you can see that Codejock actively incorporates features requested by their users. Codejock is, by far, the most responsive group of developers I've ever encountered.

Finally, there is no need to create multiple posts dealing with the same / related issues. It just adds to forum clutter, so please have a little patience. If you are experiencing real trouble and require immediate assistance - there is always IssueTrak or support@codejock.com.

Cheers ~ jp

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.
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2006 at 2:56pm
It's pretty easy actually.  All I did was use CJ ImageManager and add a 32x32 icon for the paste button, then add 16x16 icons for the cut, copy and format painter icons.  The ribbon bar will then show those icons as in your screenshot.

However, I'm not sure how to create the Clipboard button as you have it.

jc
Back to Top
gshawn View Drop Down
Senior Member
Senior Member


Joined: 04 October 2004
Status: Offline
Points: 227
Post Options Post Options   Thanks (0) Thanks(0)   Quote gshawn Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2006 at 2:40am
Originally posted by apuhjee apuhjee wrote:

I know that Oleg already mentioned this, but use of the ImageList control is deprecated. If you still absolutely insist on using an ImageList, I'm pretty sure there is a method somewhere that takes care of the conversion for you.

Hmm, could you find me a quote where he says use of the ImageList control is deprecated? I don't recall reading that... ever. Sure that may not not preferred way of doing things, but my understanding is that using it is just as much supported as using the ImageManager control.

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: 10 May 2006 at 8:51am

Hello,

Yes, it is supported as well, but ImageManager is more recommended. You can use one control for 16*16 and 32*32 icons, you can edit icons, you can add Alpha icons, etc.

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
apuhjee View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 September 2005
Location: United States
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote apuhjee Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2006 at 1:23pm
Originally posted by gshawn gshawn wrote:

Hmm, could you find me a quote where he says use of the ImageList control is deprecated?

I'm sorry, gshawn is correct - the word deprecated was never used. The word we were looking for was obsolete (which, if we are being pedantic is not even close, but in practice should be very similar)

Use #1
Originally posted by oleg oleg wrote:

AddImageList is quite obsolete method, better use ImageManager control and use its icons

Use #2
Originally posted by oleg oleg wrote:

Using ImageList is quite obsolete... suggest you to try ImageManager control.

Cheers ~ jp

Additional Note (5/30):
Actually - I stand correctly once again. Obsolete is the keyword microsoft decided to use rather than deprecated... So I was correct the first time around :)
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.
Back to Top
gshawn View Drop Down
Senior Member
Senior Member


Joined: 04 October 2004
Status: Offline
Points: 227
Post Options Post Options   Thanks (0) Thanks(0)   Quote gshawn Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2006 at 4:25pm

OK that's good to hear, I was scared there for a minute :)  This would be a very inconvenient time for us to have to switch over to using the ImageManager control at this stage of our implementation... I can deal with "obsolete" until this project is over :) 

Thanks for clarifying!

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.047 seconds.