Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all articles
Browse latest Browse all 78596

ApplyDataToWidget() of TreeView not getting called

$
0
0

Hi all,
I just tried modify the SDK sample program "WListBoxComposite". My modification was, instead of showing the treeview widget in a panel, I tried to show the treeview widget in a Dialog. After the modification, the ApplyDataToWidget() (of WidgetMgr.cpp) is not getting called. The only difference I found is in class declaration. The below first declaration is in SDK sample and I modified as shown in the later one with Dialog stuffs. Am I missing anything? How should I make my ApplyDataToWidget() function to be called? Help me in this regard. Thanks in advance.

 


Class
{
  kWLBCmpPanelWidgetBoss,
  kPalettePanelWidgetBoss,
  {
    /** An implementation of ITextControlData, but with interface
    identifier of IID_IPANELMENUDATA, serves to name the popout panel menu.
    Implementation provided by the API.
    */
    IID_IPANELMENUDATA, kCPanelMenuDataImpl,
  }
},


Class
{ kWLBCmpDialogBoss, kDialogBoss,
  {
  IID_IDIALOGCONTROLLER,    kWLBCmpDialogControllerImpl,
  }
},

 


Regards,
John


Viewing all articles
Browse latest Browse all 78596


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>