Print Page | Close Window

Caption bar icon in true color

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3728
Printed Date: 10 November 2025 at 2:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Caption bar icon in true color
Posted By: cpede
Subject: Caption bar icon in true color
Date Posted: 03 March 2006 at 9:33am

When I launch my application using codejock framework the icon in the caption bar is displayed in 16 colors. How do I set this icon using my true color resource icon?

Currently I use:

SetIcon((HICON)::LoadImage(AfxGetResourceHandle(),
MAKEINTRESOURCE(IDI_MYICON),IMAGE_ICON,
16,16,LR_DEFAULTCOLOR|LR_SHARED),FALSE);

-cpede




Replies:
Posted By: cpede
Date Posted: 14 March 2006 at 3:30pm

No ideas, anyone?

-cpede



Posted By: Oleg
Date Posted: 14 March 2006 at 3:42pm

Hello,

Please attach icon here. Sure it has some 16bit image that used instead.



-------------
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