[futurebasic] RE: [FB] CALL PLOTCICON

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1999 : Group Archive : Group : All Groups

From: Jamin <benjamen@...>
Date: 01 Nov 99 19:44:15 +1100
         Reply to:   RE: [FB] CALL PLOTCICON

Charlie Dickman wrote:
>I'm using the following code to extract a cicn from a resource file >and plot it but what gets plotted is just a bunch of junk. If I use >GETCICON to extract the icon from the app's resources this works >fine. CALLing DETACHRESOURCE on the iconH& doesn't change anything I >must be missing some magic somewhere. Can anyone clue me in?

According to Think Reference, GETCICON is NOT the same as GETRESOURCE.
GETCICON loads the resource and creates some private data structures.
DISPOSCICON releases the resource and destroys those structures.