Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Popup Control Icons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Popup Control Icons

 Post Reply Post Reply
Author
Message
Reedie View Drop Down
Newbie
Newbie


Joined: 20 December 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Reedie Quote  Post ReplyReply Direct Link To This Post Topic: Popup Control Icons
    Posted: 10 January 2007 at 8:12am

In the provided popup control example the LoadImage API is used to add for example the close button on the MSN themed popup. Is it possible to load images from an ImageManager control instead? I am currently using version 9.70.

 
Thanks,
 
Reedie
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 January 2007 at 10:03am
It was added after 9.80 release.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Reedie View Drop Down
Newbie
Newbie


Joined: 20 December 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Reedie Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2007 at 8:38am
Hi Oleg,
 
Thanks for that I have upgraded now but haven't been able to set the icon with the new version. My code to add the image is
 
Set Item = PopupControl.AddItem(20, 20, 20, 20, vbNullString)
Item.Id = ID_CLOSE_POPUP
Item.SetIcon ImageManager.Icons.GetImage(ID_CLOSE_POPUP, 13),                        xtpPopupItemIconNormal
 
and I have made sure the icon I want in the ImageManager has this ID. Can you tell me if this is wrong?
 
Thanks,
 
Reedie
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.157 seconds.