![]() ListHelper.AddElement("Fitting", targetDisplayWidgetId) ListHelper.AddElement("General", targetDisplayWidgetId) InterfacePtr listCntl(listBox,IID_ILISTBOXCONTROLLER) // useDefaultIID() not defined for this interfaceĪSSERT_MSG(listCntl != nil, "listCntl nil") ĬAlert::InformationAlert("IListBoxController err") Ĭonst int targetDisplayWidgetId =SamplePrefOptionTextWidgetID IControlView * listBox = listHelper.FindCurrentListBox() SDKListBoxHelper listHelper(iPanelControlData,kSamplePluginID, SamplePreflistboxWidgetID, kSampletDialogWidgetID) InterfacePtr iPanelControlData(this, UseDefaultIID()) Void SampleDialogController::PopulatePrefListElement() SamplePrefDragDropScriptRemoveBtnWidgetID, K SamplePrefListElementRsrcID // Fill list box with widgets with this ID (default is 0) KFalse, // Drag/Dropable to other windows ![]() SamplePrefDragDropScriptlistboxWidgetID, kSysOwnerDrawListBoxPMRsrcId, // WidgetId, RsrcId KSampleDropDownEventsTextKey, // Initial text. SamplePrefScriptEventsTabWidgetID, kPMRsrcID_None,ġ0, 10, 200, 30, // Frame: left, top, right, bottom. KSampleTextFitChkBoxTextKey // Initial text KSampleTextFitCheckBoxWidgetID, // WidgetIdįrame(150, 40, 350, 60) // left, top, right, bottom KDontEllipsize,kTrue, //**new element in InDesign 2.0: don't add any ellipsesĠ// WidgetId for associated control for shortcut focusįrame( 10, 40, 250, 60 ), // Frame (l,t,r,b)Ġ // WidgetId for associated control for shortcut focus KTrue, kTrue, kAlignLeft, // Visible, Enabled, Alignment SamplePrefFittingTabWidgetID, kPMRsrcID_None,įrame( 10,15,300,35 ), // Frame (l,t,r,b) KSamplePrefProjectPathTextEditBoxWidgetID, // WidgetIdįrame(140, 15, 420, 35), // Frame (l,t,r,b)Ġ, // Widget id of nudge button (0 so we dont get one) KSamplePrefProjectPathTextEditBoxWidgetID // No associated widget KSamplePrefProjectPathStringKey, // Initial text. KAlignLeft, kEllipsizeEnd,kTrue, // Alignment, ellipsize style KInvalidWidgetID, // WidgetId (default=0)ġ0, 15, 138, 35, // Frame: left, top, right, bottom. SamplePrefGeneralTabWidgetID, kPMRsrcID_None, - This is the CPanelControlData that holds the widgets KCellPanelWidgetID, kPMRsrcID_None, // WidgetId, RsrcId KSamplePrefListElementRsrcID // Fill list box with widgets with this ID (default is 0) KTrue, // An item always has to be selected KTrue, // Draggable to new/delete buttons KSysOwnerDrawListBoxPMRsrcId, // WidgetId, RsrcId Resource SampleDialogWidget (kSDKDefDialogResourceID + index_enUS) Three of our Widgets has not opened in Indesign CC. I am working on porting our Indesign CS6 plugin to Indesign CC plugin.I have completed the porting and the plugins has opened in Indesign CC,but i have one problem in design.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |