Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages
Started by 4N
Tue, 29 Apr 2008 13:16
Icon ID
Author: 4N
Date: Tue, 29 Apr 2008 13:16
Date: Tue, 29 Apr 2008 13:16
5 lines
1028 bytes
1028 bytes
Hi, can someone tell me how I can find the id number of an icon stored inside a .res file? I don't use Vista so I can't use the IconInfoEx structure. Thanks in advance.
Re: Icon ID
Author: Bob Gonder
Date: Tue, 29 Apr 2008 15:00
Date: Tue, 29 Apr 2008 15:00
18 lines
1547 bytes
1547 bytes
4N wrote: >can someone tell me how I can find the id number of an icon stored >inside a .res file? Have you considered EnumResourceNames() ? Or one of the other EnumRes...() >I don't use Vista so I can't use the IconInfoEx structure. I can't find any reference to IconInfoEx. Did you perhaps mean ICONINFOEX ? From the rest of your question, it sounds like you are trying to get out of ICONINFOEX... wResID Specifies the icon or cursor resource bits. but that doesn't sound like what you are asking for.
Re: Icon ID
Author: 4N
Date: Tue, 29 Apr 2008 17:29
Date: Tue, 29 Apr 2008 17:29
29 lines
1840 bytes
1840 bytes
"Bob Gonder" <notbg@notmindspring.invalid> ha scritto nel messaggio news:dkce141n9jqrder6hstr9ptbvc2nos9kbs@4ax.com... > 4N wrote: > >>can someone tell me how I can find the id number of an icon stored >>inside a .res file? > > Have you considered EnumResourceNames() ? > Or one of the other EnumRes...() no, I didn't, thanks for pointing it out >>I don't use Vista so I can't use the IconInfoEx structure. > > I can't find any reference to IconInfoEx. > Did you perhaps mean ICONINFOEX ? yes, I wrote it without looking at msdn so I sinply recalled the name > From the rest of your question, it sounds like you > are trying to get out of ICONINFOEX... > wResID > Specifies the icon or cursor resource bits. > but that doesn't sound like what you are asking for. msdn sounded like what you're saying but the name of the field is misleading. Thanks again.
Re: Icon ID
Author: 4N
Date: Fri, 02 May 2008 17:54
Date: Fri, 02 May 2008 17:54
4 lines
1095 bytes
1095 bytes
Looks like the resource I need to access doesn't have an ID so EnumResourceNames didn't help. Oh well, it means I'll have to use the resource name and to modify some code...
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads