Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Strategy question

Strategy question

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cloaca
    wrote on last edited by
    #1

    Hi everyone, I am starting a program that will allow serveral files to be viewed at once. My idea is to start with a dialog based app and then open other windows (sort of like views) to show each file. The files will be chosen from the main dialog of the app. The main dialog will also keep a list of the open files (windows) and allow the list of open files to be saved, and it will have a 'New' button so that new files can be created. My question is about how to go about making these 'view' windows. I don't want to use MDI (since I want the user to be able to move the windows around without them all being stuck in a frame) and I can't use modal dialogs since they would block access back to the main app's dialog while they're open. I was thinking about using modeless dialogs or going through the process of AfxRegisterWndClass and 'rolling my own' display windows. What ideas do you have about how I should approach this. If I do my own windows, I'll need to handle mouse and keyboard events within them, and it seems like that stuff is somewhat provided (skeleton laid-out at least) to me if I use dialogs. Thanks much, best regards,:) Eric

    M 1 Reply Last reply
    0
    • C Cloaca

      Hi everyone, I am starting a program that will allow serveral files to be viewed at once. My idea is to start with a dialog based app and then open other windows (sort of like views) to show each file. The files will be chosen from the main dialog of the app. The main dialog will also keep a list of the open files (windows) and allow the list of open files to be saved, and it will have a 'New' button so that new files can be created. My question is about how to go about making these 'view' windows. I don't want to use MDI (since I want the user to be able to move the windows around without them all being stuck in a frame) and I can't use modal dialogs since they would block access back to the main app's dialog while they're open. I was thinking about using modeless dialogs or going through the process of AfxRegisterWndClass and 'rolling my own' display windows. What ideas do you have about how I should approach this. If I do my own windows, I'll need to handle mouse and keyboard events within them, and it seems like that stuff is somewhat provided (skeleton laid-out at least) to me if I use dialogs. Thanks much, best regards,:) Eric

      M Offline
      M Offline
      Maxwell Chen
      wrote on last edited by
      #2

      Have a look at the style of the IDE of "Borland C++ Builder" ...... Maxwell Chen

      C 1 Reply Last reply
      0
      • M Maxwell Chen

        Have a look at the style of the IDE of "Borland C++ Builder" ...... Maxwell Chen

        C Offline
        C Offline
        Cloaca
        wrote on last edited by
        #3

        Hi Maxwell, I don't have ready access to Borland Builder. Can you point me to some ideas on the web. Searching Google gave me some ideas, but from what I can tell it looks somewhat like the Visual Studio IDE. Thanks for the reply! Eric:)

        M 1 Reply Last reply
        0
        • C Cloaca

          Hi Maxwell, I don't have ready access to Borland Builder. Can you point me to some ideas on the web. Searching Google gave me some ideas, but from what I can tell it looks somewhat like the Visual Studio IDE. Thanks for the reply! Eric:)

          M Offline
          M Offline
          Maxwell Chen
          wrote on last edited by
          #4

          Borland IDE[^]. You see a man walking on the ice field, and that is the Windows desktop image. I am not telling you to use Borland tools as develop one, I am just talking about the IDE. You may develop your apps this way. Maxwell Chen

          C 1 Reply Last reply
          0
          • M Maxwell Chen

            Borland IDE[^]. You see a man walking on the ice field, and that is the Windows desktop image. I am not telling you to use Borland tools as develop one, I am just talking about the IDE. You may develop your apps this way. Maxwell Chen

            C Offline
            C Offline
            Cloaca
            wrote on last edited by
            #5

            Hi Maxwell, Thanks for the idea! :) Best, Eric

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups