Multiple Document Interface

Dear Experts,
I am a new user with Measurement Studio for visual C++ and want to develop a Multiple Document Interface(MDI).
Where can I find an example to show how to create it step by step. Application Note 175 shows
how to create a SDI case but not a MDI.
Thanks in advance.
Fujie Xia

Fujie -
You can find this information in the Microsoft documentation. Check out Working with MDI Applications and Creating Menus in MSDN online. This topic walks you through creating an MDI application. You should be able to use this topic along with the application note you referenced to learn how to create an MDI application.
There isn't anything specific support in Measurement Studio that is particular to MDI, SDI, or dialog-based applications. All of the specific support for these application types is build into the MFC framework. Consequently, MFC documentation is the best place for you to go to find out about these types of applications.
One piece of advice I can give is that MFC documentation tends to assume you will use CView as the base class of your child windows. However, you will typically want to use CFormView as the base class of your child windows for applications in which you are using Measurement Studio user interface controls.

Similar Messages

  • Multiple Document Interface in version 11

    Please could anyone help?
    Why isnt it possible to have Multiple Document Interface in version 11?
    Thanks

    i believe the answer is that Adobe is following Windows Programming User Interface Guidelines, that Microsoft itself doesn't always follow.

  • No support for MDI??(Multiple Document Interface)

    So I've been searching the web for JavaFX MDI, and it seems that we don't have it..... There is a Jira report with no interest at all here https://javafx-jira.kenai.com/browse/RT-22856
    I mean I didn't think it would be a big issue, but apparently it is... Why doesn't it exist?
    I've never tried it, but we can only have 1 Scene Per Stage, and 1 Stage right?
    What about Creating Sub-Scenes and using those with groups or such?!?!
    It might also be possible to use other container nodes and just make subclasses to close and such, so I might not need multiple scenes for my personal needs.
    I rather not have to go back and use JInternalFrames and such in Swing.... GRRR >(
    Thanks!
    ~KZ
    Edited by: KonradZuse on Apr 7, 2013 11:08 AM

    Oooh that's super cool, thanks!
    I cannot run the ensemble though, it keeps giving me an applet error, I'm assuming because my jre 8 overrides jre 7 (browser java doesn't work either).
    will this api work with the beta builds?
    It seems there are beta builds, but I'm not too sure how to access them, or how this fxtras works...
    Thanks again!
    Edited by: KonradZuse on Apr 7, 2013 8:20 PM
    Yup 8 crashed it, not too much stuff, and some things are buggy, but it's a great start!!!
    I was also able to get a copy from the sample here
    http://mihosoft.eu/?p=507
    Both JDK7 and 8 jar files are in there. No Maven poo poo needed :p.
    Edited by: KonradZuse on Apr 7, 2013 8:20 PM

  • Painting problems with cwgraph in multiple document interface (mdi).

    Has anyone else seen weird behavior when using a cwgraph on an MDI child form in .NET. Whenever I open a new child window (containing a cwgraph) it gets painted once in the correct location and again offest about 50 pixels away and the old original location doesn't get invalided properly.
    The only workaround I've found is to contain the cwgraph in a panel or groupbox and the problem seems to go away entirely.

    Do you only see this problem with the graph, or do you see it with other Measurement Studio controls as well? Do you have any other ActiveX control on an MDI child and if so, what is the behavior of those controls? Could you please post a small test project that reproduces the problem? Thanks.
    - Elton

  • Web start and multiple documents

    I am working on a rich client application that I want to deploy via web-start. There is a requirement for it to present the multiple-document-interface. Each time I double-click on a file, web-start kicks off the application in what appears to be a new JVM (at least, a new javaw.exe appears in the process list under windows-XP).
    Can anyone suggest a way for each instance after the first to detect the first instance, and to delegate the file-name to the first instance?
    I would prefer to keep the interaction between the instances as hidden and localized as possible. I have seen this done in C++ using CreateMutex and SendMessage. It looks like it may be possible to do this with RMI, by having each instance attempt to connect to a server, and on failure become a server, but that leads to race conditions, and may allow communications that cross to other machines. Named pipes would have worked, but Java does not support them. Sockets would work, but I would have to reserve some port number (which one would be safe on all machines?) and I don't know how to ensure that the socket would not be visible to other machines.
    Regards,
    Danny

    The JNLP file can add a file assciation for an app., the [FileOpen/SaveService example|http://pscode.org/jws/api.html#fs] declares file type text/sleepytime.
    As to making sure it is one VM, or one instance, look to the SingleInstanceService.

  • Acrobat 9 hangs with multiple documents open

    HP pro 6200 4 G RAM, Win7Pro, Acrobat 9(fully updated), single computer affected, multiple users, documents are from C drive, network, and USB
    I've run a repair install, removed the popups/lines and other markup notifications, held shift down when starting to not load add-ins, logged in as another user, updated video card drivers, sprinkled fairy dust, changed desktop resolution(set at 800x600 per user preference), opened same documents on another computer with no problems, and yet I still cannot find out what is causing Acrobat 9 to hang after multiple pages are opened.  Sometimes it will hang completely and I have to go into task manager and kill it, other times the page has a hard time painting as I scroll.  The memory usage doesn't go over 100k in task manager.  If we  close out of the documents with task manager and open them back up it is fine for a while, then it starts back up again.  This seems like a common issue but all the common fixes I found aren't working.  I was not able to find a "preferences" folder under his user folder to delete those settings.
    Anyone have any other ideas?

    From: <[email protected]><br /><br />| I need to scan multiple documents and the "hide scanners interface" is grayed out. I<br />| recently upgraded from Acrobat 8 professional, which occassionally would allow me to<br />| scan multiple docs. Called Adobe and they suggested I upgrade to 9. Still can't scan<br />| multiple docs at a time. Need to set my scanner as not being recognized as a flatbed.<br />| HELP PLEASE!!!<br />| Apparently has something to do with the scanners interface setting.<br /><br />If you really need to scan multiple documents then what you may realy need is a scanner <br />with and Automatic Document Feeder (ADF).<br /><br />-- <br />Dave

  • Acrobat 9 Professional-scanning multiple documents needed

    I need to scan multiple documents and the "hide scanners interface" is grayed out. I recently upgraded from Acrobat 8 professional, which occassionally would allow me to scan multiple docs. Called Adobe and they suggested I upgrade to 9. Still can't scan multiple docs at a time. Need to set my scanner as not being recognized as a flatbed. HELP PLEASE!!!
    Apparently has something to do with the scanners interface setting.

    From: <[email protected]><br /><br />| I need to scan multiple documents and the "hide scanners interface" is grayed out. I<br />| recently upgraded from Acrobat 8 professional, which occassionally would allow me to<br />| scan multiple docs. Called Adobe and they suggested I upgrade to 9. Still can't scan<br />| multiple docs at a time. Need to set my scanner as not being recognized as a flatbed.<br />| HELP PLEASE!!!<br />| Apparently has something to do with the scanners interface setting.<br /><br />If you really need to scan multiple documents then what you may realy need is a scanner <br />with and Automatic Document Feeder (ADF).<br /><br />-- <br />Dave

  • Standard document interface is not available

    Hi All,
    I am using the method "get_spreadsheet_interface" from class "i_oi_document_proxy" to get the interface from an 2007 Excel File with multiple worksheets.  I have successfully opened the file using "open_document" but when I execute the "get_spreadsheet_interface" I got the error "Standard Document Interface is not available".  My gui is 710 and the patch level is 21.  I would like to ask is there any additional plugin which I have to install? 
    Thanks.

    Hi Madhu, I got stuck at the get_document_interface...   thanks
    DATA:
    oref_container   TYPE REF TO cl_gui_custom_container,
    iref_control     TYPE REF TO i_oi_container_control,
    iref_document    TYPE REF TO i_oi_document_proxy,
    iref_spreadsheet TYPE REF TO i_oi_spreadsheet,
    iref_error       TYPE REF TO i_oi_error.
    DATA:
    v_document_url TYPE c LENGTH 256,
    i_sheets TYPE soi_sheets_table,
    wa_sheets TYPE soi_sheets,
    i_data        TYPE soi_generic_table,
    wa_data       TYPE soi_generic_item,
    i_ranges      TYPE soi_range_list,
    AVAILABLE     TYPE I.
    PARAMETERS:
    p_file  TYPE  localfile OBLIGATORY,
    p_rows TYPE i DEFAULT 100 OBLIGATORY, "Rows (Maximum 65536)
    p_cols TYPE i DEFAULT 10 OBLIGATORY.    "Columns (Maximum 256)
    INITIALIZATION.
      CALL METHOD c_oi_container_control_creator=>get_container_control
         IMPORTING
           control = iref_control
           error   = iref_error
         retcode =
      IF iref_error->has_failed = 'X'.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'E'.
      ENDIF.
      CREATE OBJECT oref_container
        EXPORTING
         parent                      =
           container_name              = 'CONT'
         style                       =
         lifetime                    = lifetime_default
         repid                       =
         dynnr                       =
         no_autodef_progid_dynnr     =
        EXCEPTIONS
           cntl_error                  = 1
           cntl_system_error           = 2
           create_error                = 3
           lifetime_error              = 4
           lifetime_dynpro_dynpro_link = 5
           OTHERS                      = 6.
      IF sy-subrc <> 0.
        MESSAGE e001(00) WITH 'Error while creating container'.
      ENDIF.
      CALL METHOD iref_control->init_control
        EXPORTING
         dynpro_nr                = SY-DYNNR
         gui_container            = ' '
           inplace_enabled          = 'X'
         inplace_mode             = 0
         inplace_resize_documents = ' '
         inplace_scroll_documents = ' '
         inplace_show_toolbars    = 'X'
         no_flush                 = ' '
         parent_id                = cl_gui_cfw=>dynpro_0
           r3_application_name      = 'EXCEL CONTAINER'
         register_on_close_event  = ' '
         register_on_custom_event = ' '
         rep_id                   = SY-REPID
         shell_style              = 1384185856
           parent                   = oref_container
         name                     =
         autoalign                = 'x'
        IMPORTING
           error                    = iref_error
         retcode                  =
        EXCEPTIONS
           javabeannotsupported     = 1
           OTHERS                   = 2
      IF iref_error->has_failed = 'X'.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'E'.
      ENDIF.
      CALL METHOD iref_control->get_document_proxy
        EXPORTING
        document_format    = 'NATIVE'
          document_type      = soi_doctype_excel_sheet
        no_flush           = ' '
        register_container = ' '
         IMPORTING
           document_proxy     = iref_document
           error              = iref_error
       retcode            =
      IF iref_error->has_failed = 'X'.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'E'.
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    To provide F4 help for the file
      PERFORM sub_file_f4.
    START-OF-SELECTION.
      CONCATENATE 'FILE://' p_file INTO v_document_url.
      CALL METHOD iref_document->open_document
        EXPORTING
          document_title   = 'Excel'
          document_url     = v_document_url
        no_flush         = ' '
          open_inplace     = 'X'
        open_readonly    = ' '
        protect_document = ' '
        onsave_macro     = ' '
        startup_macro    = ''
        user_info        =
        IMPORTING
          error            = iref_error
        retcode          =
      IF iref_error->has_failed = 'X'.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'I'.
        LEAVE LIST-PROCESSING.
      ENDIF.
      CALL METHOD iref_document->get_spreadsheet_interface
         EXPORTING
           no_flush        = ' '
        IMPORTING
          error           = iref_error
          sheet_interface = iref_spreadsheet
        retcode         =
      IF iref_error->has_failed = 'X'.
        CALL METHOD iref_error->raise_message
          EXPORTING
            type = 'I'.
        LEAVE LIST-PROCESSING.
      ENDIF.

  • Apple's Single-Document Interface in Windows

    I've been a Windows user all my life, but I use a Mac at work.  I've come to appreciate one and only thing about OSX, and that is the SDI (single document interface).  I can easily drag vector objects from my Illustrator window into a Photoshop window, because there is no giant gray "parent" window that contains all the windows from each program, as in the MDI (multiple...) in Windows.
    I'm looking for a way to get rid of that gray parent window in my Adobe products on my Windows 7 machine at home.  I couldn't find anything in the applications' preferences, but hopefully I'm overlooking something, and someone here can point me in the right direction.  Thanks in advance for your help.
    (Please no "switch to a Mac" comments please...it's not happening )
    -Ted

    Yeah, as a Windows user that's what I always did before I used it on a Mac and realized that they had a different way of doing it.  Honestly, the lack of an application frame really distracted me at first when I started my new job and all they had was Macs.  But I got used to it and learned to appreciate its functionality, so now when I do work on my PC at home I miss that functionality.  I guess dragging things to the taskbar will have to continue to be the work around until Adobe makes the Windows application fram optional like on the Mac.  Thanks for the help.

  • No staggered windows with XCode 3 in a Cocoa multiple document application

    I want to release a new version of an application that I developed using the Cocoa multiple document framework. With XCode 2.x when I opened new document windows they were staggered so that the user could see that there was more than one document open. Since I switched to XCode 3, new document windows are created at the same location on the screen and new ones cover the older ones. I liked the old way. I can't find anything about this in the documentation or release notes. Is this the new way to do this according to the Human Interface Guidelines or a bug or what?

    I see that part of my problem is terminology. The term for exposing new windows is cascading. It is possible to tell a document's window controllers to cascade its windows when initializing an NSDocument subclass like this:
    - (void) windowControllerDidLoadNib:(NSWindowController *) aController
    [super windowControllerDidLoadNib: aController];
    NSArray* myDocWindowControllers = [self windowControllers];
    int numControllers = [myDocWindowControllers count];
    unsigned int controllerNumber = 0;
    while(controllerNumber < numControllers){
    NSWindowController* theWindowController = [myDocWindowControllers objectAtIndex: controllerNumber];
    [theWindowController setShouldCascadeWindows: YES];
    controllerNumber ++;
    }

  • Can JSP be used to simulate Multi Document Interface?

    I am new to JSP and I am trying to reimplement (migrate) a PowerBuilder based GUI application, with heavy use of "Multi Document Interface" (multi frames).
    My questions are:
    1- Does JSP supports "Multi Document Interface (MDI) like" functionality? Can anyone send me a simple JSP example where a click on a one JSP page causes multiple frames (pages) to appear in the same browser?
    2- How one can implement Multi Documment Tabbed Interace? This is where JSP renders more than one page each with a tab. Clicking a tab brings its corresponding page.
    Thanks again,
    Devel1

    JSP is loaded in a web-browser. Hence there is no MDI possibility. What you can do is for each click open a new window. Consider each window like a separate MDI form.
    Otherwise you can generate an applet that uses Swing/awt and use the MDI capabilities in these technologies. Of course this is a much more cumbersome method than the previous one.

  • I have multiple documents how can I combine them into one document?

    I have multiple document files in Pages. How can I combine them into one document?

    Menu > View > Page Thumbnails > click on the thumbnails > Copy/Paste into thumbnails of other document
    Peter

  • Display data from multiple document Libraries in List View Webpart

    Hi All,
    I want to display data from multiple document libraries into one list view webpart(custom i have created)
    I went through the following link http://blogs.msdn.com/b/ramg/archive/2009/04/22/implementing-a-simple-cross-site-collection-list-view-webpart.aspx
    but it tells to display only from one document library.
    My motive behind displaying data in the list view webpart is to achieve the functionality of Check In ,Check Out and other OOB features.
    With Regards,
    Jaskaran Singh

    Hi,
    As there is no such OOTB feature, a workaround is to create a visual web part to gather items from libraries and implement functionalities like Check in, Check out files
    in different libraries.
    The links below will provide more details:
    Create Visual Web Parts in SharePoint
    2010
    A demo about displaying list items in visual web part:
    http://www.dotnetcodesg.com/Article/UploadFile/2/217/Web%20Part%20in%20SharePoint%20To%20Show%20All%20List%20and%20List%20Items.aspx
    About the Check In and Check Out:
    How to Check In a document programmatically
    SPFile.CheckIn method
    and SPFile.CheckOut method
    Best regards
    Patrick Liang
    TechNet Community Support

  • How do you highlight multiple documents rapidly, rather than having to click on the document and on "command" one at a time?

    How do you highlight multiple documents rapidly, rather than having to click on the document and on "command" one at a time? Right now, when I'm trying to highlight documents to export, I have to click on each document individually. Is there a way to highlight one document while scrolling down the list until all desired documents are highlighted? I would like to rapidly be able to do this to save time when I am exporting or saving multiple files from my documents to an external drive, CD-Rom or cloud storage.

    Click on the first item
    Hold the Shift key
    Click on the Last Item.
    All the items in between will be selected.

  • How do you apply a master page to multiple documents at the same time?

    How do you apply a master page to multiple documents at the same time?

    Hi friends,
    Thank you for trying to help me out.
    Let me explain it a bit to remove the ambiguity.
    I have 10 documents nested under a book. Each of these documents have 'n' number of pages. I want to apply my custom made master page "First" to the first page of all these 10 documents in one go. The remaining pages of the documents have to be in default "Right" master page format. How will I do it?
    I tried selecting all the documents and importing the formats from another document with the custom made "First" master page. The master page format is getting imported but the first page of all the documents still remain with the default "Right" master page format.
    I think now my question is more clear...

Maybe you are looking for

  • Need Help making a navigation menu for a website

    Alright so I've been having some problems getting this to work correctly. I am making a navigation menu for a website and I'm trying to get when I hover over the main header a drop down appears animated of course below it. I also want when you highli

  • Error codes

    Hello everyone, I am working with CANopen for last 4 to 5 months, the device which i am using is Motor controller drive,Communication used is CANopen. When I was testing for Emcy with the help of CANopen library, I am getting confused. The plasma dic

  • Partition of a natural number

    hello i want to find out the partition of natural numbers. e.g. the partion of 4 p(4) = 5 = {(4), (1,3), (2,2), (1,1,2), (1,1,1,1)} can someone help me with a short code example? any hints are appreciated as i am new to java... greets

  • Problem to load external swf

    hi! I have a movie clip with a background image and also I have another movie clip that load the first movie clip with a Loader, but in the second movie clip, do not see the image of the first movie clip. some idea?

  • System/Application startup causes error -2147220712 (and others)

    I have a developed a .NET logging application (in C#) using DAQmx and an NI USB-6210 board all running under XP Pro. All works fine when the application is launched after the host PC system has been running for some time. I have now put a shortcut to