Thank you jonathan. >>What's difference between CALL KILLPICTURE and DEF DISPOSEH (or FN >>DIPOSHANDLE), CALL RELEASERESOUCE? > >CALL KILLPICTURE is an FB call, to use if you grabbed the >pict using FB - see the online help, it indicates when to use this. > >DEF DISPOSE is used on handles, either that you have created, or >when you have 'detached' a resource, leaving only a handle in memory. > >CALL RELEASERESOURCE is the standard way of disposing of >resources that don't have their on call to get rid of them (ie, if >my memory serves me right, stuff like buttons, menus, windows >all are resources but have calls to bring them in massaging the data >on the way - if you used a specific call to bring a resource, then use >a specific call to drop it - it yyou used a generic call to bring >it in, then use a generic call to drop it.) If the picture handle was read from resource, which function should be called? For example, pictH& = FN GETPICTURE(128) 'or FN GETRESOURCE(_"PICT",128) ' do someting with pictH& ' and then we have to release it because it is not purgeable. CALL RELEASERESOURCE(pictH&) ' <- Is this right? This works for me. TIA. Osamu Shigematsu