Print Page | Close Window

Mask Color for ImageManager

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=12731
Printed Date: 03 November 2024 at 8:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Mask Color for ImageManager
Posted By: stefanadelbert
Subject: Mask Color for ImageManager
Date Posted: 19 November 2008 at 6:10pm
At design time I'm adding icons from an Image List to an ImageManager using CommandBars.AddImageList. The icons in the Image List uses a mask color of megenta (255,0,255 or 0x00FF00FF or 16711935). I'm then setting the MaskColor using:

CommandBars.Icons.MackColor = 16711935

But this is not working and I'm still seeing a magenta background to the icon.

Please let me know what I'm doing wrong.

Thanks



Replies:
Posted By: Oleg
Date Posted: 20 November 2008 at 1:57am
Hello,
 
AddImageList doesn't use MaskColor property. Have to work automatically.
I recomment add ImageManager control and add all icons to ImageManager instead IamgeList.


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



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