Print Page | Close Window

CXTPImageManager

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=880
Printed Date: 31 October 2024 at 9:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPImageManager
Posted By: windyboy3367
Subject: CXTPImageManager
Date Posted: 23 June 2004 at 2:33am

The program which I'm making has lots of DLL, and the DLLs has each resource ID. The main Excute file Loads ToolBar to use ID of the Dlls. But I can't do this with CXTPToolBar, because of  m_mapImages which is member of CXTPImageManager checks ID in "BOOL CXTPImageManager::SetIcon(HICON hIcon, UINT nIDCommand, CSize szIcon, XTPImageState imageState, BOOL bAlpha)".

I think the unique thing is not ID , but  HICON in case of using DLL.

Thanks for reading.




Replies:
Posted By: Oleg
Date Posted: 23 June 2004 at 1:15pm
You can use LoadToolBar(..., FALSE) and then load icons manually.

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