User (Legacy) Posted August 8, 2000 Report Share Posted August 8, 2000 Hey Serge, I noticed that your action sequence differ from mine in terms of how I create the chart. I am not sure if this may be it, but it couldnt hurt: My full sequence of actions: - create chartfx control (CreateInstanceLic) - load it from the file using Import method (this may load an already saved extension) - create chart window (CreateWnd) - call GetExtension to determine if I have to make AddExtension IE. I only check for the annotation object after the window is fully displayed. Maybe the problem is that the annotation toolbar is not fully active until it is displayed(?). HTH Josh PS. I was on vacation, otherwise I would have responded sooner. Sorry! "Serge S. Spiridonoff" <sss@corbina.net> wrote in message news:DE0379D14694D211B4CE00609770710D05CDB4@sftfx-221.wamnet.net... > Hi Juan, > > The full sequence of actions is: > - create chartfx control (CreateInstanceLic) > - load it from the file using Import method (this may load an already saved > extension) > - call GetExtension to determine if I have to make AddExtension > - create chart window (CreateWnd) > > Annotation extension works fine (after AddExtension) but GetExtension always > returns an error. As a result 2 extension are added and 2 extension toolbars > appear. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.