Durgesh, It seems CtlSetGraphics accepts only Tbmp resources located in open databases.
I don't know? Maybe you should create a temporary database to which you copythe tAIB resources as Tbmp resources. Then you can simply use the id of such Tbmp resource to pass to CtlSetGraphics.
-- Radoslaw Nowak, RNS::www.ranosoft.net/palm
-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/