I want to save the width of the panes when the applications quits. The panes remember their last width when the application is running but "forgets" it when application quits.
Tried this, but that dit not work:
Code: Select all
IUIX_LayoutItem item = _pdfctl.Doc.ActiveView.Panes.Layout.GetItem(_pdfctl.Doc.ActiveView.BookmarksView.Obj);
_pdfctl.Doc.ActiveView.Panes.Layout.LockUpdates();
int addFlag = (int)UIX_LayoutItemStyleFlags.UIX_LayoutItemStyle_FixedSize;
item.SetStyle(addFlag, addFlag);
tagSIZE sz;
sz.cx = sz.cy = width;
item.set_FixedSize(sz);
_pdfctl.Doc.ActiveView.Panes.Layout.UnLockUpdates();