This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ShowNewObjectWindow - UIX

I'm trying to allow the user to create new objects of different types when they click buttons on the dashboard window using:

ShowNewObjectWindow()

Public Function ShowNewObjectWindow( _
   ByVal ParentWindow As Long, _
   ByVal Mode As MFObjectWindowMode, _
   ByVal ObjectCreationInfo As ObjectCreationInfo _
) As ObjectWindowResult



H
ow would I provide the ParentWindow ID. Where would I find this information? The dashboard is launched from iShellFrame, but I'm not sure where I would find the window ID for that?

Parents Reply
  • I create the dashboard using:

    var tab = shellFrame.RightPane.AddTab( "quoteBuilder", "Quote Builder", "_last" );

    This would mean the path to the window object from the dashboard should be as below to get the handle. 

    dashboard.Parent.ShellFrame.OuterWindow.Handle
    This is working correctly, and I am able to open the new object window from the dashboard.
Children
No Data