Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Image won't display in Markup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Image won't display in Markup

 Post Reply Post Reply
Author
Message
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Topic: Image won't display in Markup
    Posted: 16 June 2008 at 11:28am

(Now resolved -- problem only with some image files)


Just using the RibbonBar sample, I want to use icon in the MessageBar.

Using Markup with    <Image Source='1234'/>

I have read the earlier messages in this Forum and I have tried all the suggestions.

But I cannot get the icon to show on screen.

I have an ImageManager control with this icon.
And I have used
    CommandBars.GlobalSettings.Icons.AddIcon ImageManager.Icons

Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
Back to Top
cmm2006 View Drop Down
Senior Member
Senior Member


Joined: 26 September 2006
Status: Offline
Points: 118
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmm2006 Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2008 at 3:49pm
did you assign 1234 as id to your image
const ID_IMAGE=1234
 
Back to Top
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2008 at 4:32pm
Yes, I assigned 1234 ID to the image.

I also used image ID 1234 in popup button etc and it works fine there.  I tried other icons also but I cannot get any of them to work in MarkUp.
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
Back to Top
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2008 at 5:52am
Sorry CodeJock, it was all my fault !!!

I now find that SOME images do not display in MessageBar Markup (but display OK in buttons). However, some images are OK in MessageBar.

So the problem is to do with the image.

I will try and identify what is different about an image that makes MessageBar ignore it, and post the result here.
(I thought all my images were 16x16 icons.... but there must be some difference).
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
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.172 seconds.