Announcement

Collapse
No announcement yet.

MDI Examples

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MDI Examples

    Are there any basic (sorry, no pun intended ) shell examples of a MDI program with a couple of child forms for PB/WIN9? Perhaps with a menu thrown in? I'm new to PB and the older examples I've found don't seem to work too well with PB/WIN9/Forms. My background is with VS 6 and earlier.

    Thanks for any direction pointing

  • #2
    PBNOTE in samples folder is an MDI application

    MCM
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      The translated (C to PB) Petzold's examples in the downloads section has an SDK version that works quite well.

      Bob Mechler

      Comment


      • #4
        > the older examples I've found don't seem to work too well with PB/WIN9/Forms

        Unless you meant....

        "Looks like" an Multiple Document Interface (MDI) application, but does not have to use the Windows-provided "MDI" API-command set.

        Then all you have to do is make All your dialogs MODELESS and any can be made active at any time just by clicking on it.

        I am not a "DDT Guy" but I think you could create a "master" window with CreateWindowEx() (or perhaps even with DIALOG NEW) and make all your dialogs children of it (" DIALOG NEW HwndMaster ...") and it could look and feel real close to a genuine MDI application.

        MCM
        Michael Mattias
        Tal Systems (retired)
        Port Washington WI USA
        [email protected]
        http://www.talsystems.com

        Comment


        • #5
          Thanks for the help! PBNotes was the example I was looking for.

          Side note: in VB6 there is a right-mouse click "Go to definition" option for variables and constants to take you to the location where it is defined (even in another file). I haven't found that option in PB, but, it would be nice to have if possible.

          Comment


          • #6
            >I haven't found that option in PB, but, it would be nice to have if possible.

            New Feature Suggestions go to: [email protected]
            Michael Mattias
            Tal Systems (retired)
            Port Washington WI USA
            [email protected]
            http://www.talsystems.com

            Comment

            Working...
            X