Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Windows API: Getting the handle of Clarion icons 2004-01-10 -- Randy Rogers Newsgroups: sv.clarion.language
Thanks for the tip; i had already figured it out by the time i saw your
post. here is what i did...if the second byte is a 1, swap the last 2 bytes
to create a long and subtract 1. use this long in the loadicon call along
with hinst = 0. this causes the system icons to get loaded. if the second
byte is a 2, then the icons are in the rtl. do the same trick with swapping
and subtracting but use an hinst for the rtl (i used loadlibrary to do
this).
So, i have it working, but could use one more question answered....how do i
determine what rtl to use. it is probably already loaded. is there a way
to identify the rtl that the current executable is using?
Today is November 23, 2024, 2:09 am This article has been viewed 35205 times. Google search has resulted in 16 hits on this article since January 25, 2004.
|
|