Currently Being Moderated
Jun 17, 2008 8:45 PM
Fellow Developers,
I have tried every other way to try adding a 2nd panel definition to a single fr - no luck. Here is what I did.
//==================================================================== ============
// PanelList definition.
//==================================================================== ============
resource PanelList (kSDKDefPanelResourceID)
{
{
// 1st panel in the list
kSDKDefPanelResourceID,
kGINPluginID,
isResizable,
kGINPanelWidgetActionID,
kGINPanelTitleKey,
"",item in a second place
0.0,
0,0,
c_Panel,
// 2nd panel in the list
kGINDocPanelPanelWidgetResourceID,
kGINPluginID,
notResizable,
kGINDocPanelPanelWidgetActionID,
kGINDocPanelPanelTitleKey,
"",
0.0,
0,0,
c_Panel
}
};
resource GINPanelWidget(kSDKDefPanelResourceID + index_enUS)
{
...
}
resource GINDocPanelPanelWidget(kGINDocPanelPanelWidgetResourceID + index_enUS)
{
...
}
In ID.h
#define kGINDocPanelPanelWidgetResourceID 720 // random number
Code builds but I get an assert complaining about missing resource with id = 720.
All the included samples in SDK illustrate single panels.
Appreciate any help. Thanks
CG