I have created a partial cui with my menus & toolbars.
I then install it into the acad.cui by the following code...
CustomizationSection acadcui = new CustomizationSection(acad_fp);
CustomizationSection swatchdigitalcui = new CustomizationSection(swatchdigital_fp);
if (acadcui.PartialCuiFiles.Contains(swatchdigital_fp) == false)
{
acadcui.PartialCuiFiles.Add(swatchdigital_fp);
acadcui.Save();
}
This does in face add the partial.cui into the main cui but....
It does not activate-it does not add the menu to the main menus.
Where I open the customize dialog, the file is listed but will only show up if I manually press 'Apply'.
I've tryed RefreshWorkspace(), MakeDirty(), etc.
Do you have any idea hope I can get the menu to show up programmatially without having th resort to writing them into the acad.cui directly?
Thanks,
CM