cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Resource Files

sully7
13-Aquamarine

Resource Files

Hey all,

So as I've been learning to code in Toolkit, I've noticed that much of the documentation seems to encourage using external resource files (for either .txt files, icons, .gifs, and .res files). Has anyone here used internal resources instead? If possible, I would like to keep all my images and text files compressed within my DLL. I'm using Visual Studio 2010, and I know that there are functions with in VS that support internal references, I'm just not sure if Creo would like it.

Thanks,

Sully


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
President & Founder
CadActive Technologies - www.cadactive.com
1 REPLY 1
sully7
13-Aquamarine
(To:sully7)

Similarly, is it possible to have more than one dialog tag within a resource file? It would probably make deployment simpler if I could condense the number of resource files required by merging them based on application or something. I could simply be doing something wrong, but based on my experimenting, it seems like you can only have one Dialog per file. Anyone have any thoughts on this?

EDIT: In reference to the question from my previous post, would it be possible somehow to use the windows LoadBitmap(), and somehow convert the HBITMAP filetype into a format such that ProUILabelBitmapSet() could use it?

Thanks,

Sully

President & Founder
CadActive Technologies - www.cadactive.com
Top Tags