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. creating a dialog in non mfc application

creating a dialog in non mfc application

Scheduled Pinned Locked Moved C / C++ / MFC
c++
8 Posts 3 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.
  • R Offline
    R Offline
    Rajeev Goutham
    wrote on last edited by
    #1

    HI, I have an application in which is not using mfc.But i got a requirement that i need to create and display a dialog box. Existing application is a Regular DLL. Thanks & Regards, Rajeev

    T 1 Reply Last reply
    0
    • R Rajeev Goutham

      HI, I have an application in which is not using mfc.But i got a requirement that i need to create and display a dialog box. Existing application is a Regular DLL. Thanks & Regards, Rajeev

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      Since it regular DLL, i am guessing you are looking for pure win32 based solution (NOT ATL based): some of these article might help you! Writing Win32 Apps with C++: V2 - part 1[^] Scrollable Dialog in Pure Win32 API[^] Win32 Tips and Tricks[^]

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
      Never mind - my own stupidity is the source of every "problem" - Mixture

      cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

      W R 2 Replies Last reply
      0
      • T ThatsAlok

        Since it regular DLL, i am guessing you are looking for pure win32 based solution (NOT ATL based): some of these article might help you! Writing Win32 Apps with C++: V2 - part 1[^] Scrollable Dialog in Pure Win32 API[^] Win32 Tips and Tricks[^]

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
        Never mind - my own stupidity is the source of every "problem" - Mixture

        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

        W Offline
        W Offline
        wangafei
        wrote on last edited by
        #3

        it's a good idea,but mfc si the best!

        R 1 Reply Last reply
        0
        • W wangafei

          it's a good idea,but mfc si the best!

          R Offline
          R Offline
          Rajeev Goutham
          wrote on last edited by
          #4

          HI Alok, Problem is existing application in non mfc. for displaying a small dialog do i need to make that existing application also Mfc one. please guide. Thanks, Rajeev

          T 1 Reply Last reply
          0
          • T ThatsAlok

            Since it regular DLL, i am guessing you are looking for pure win32 based solution (NOT ATL based): some of these article might help you! Writing Win32 Apps with C++: V2 - part 1[^] Scrollable Dialog in Pure Win32 API[^] Win32 Tips and Tricks[^]

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
            Never mind - my own stupidity is the source of every "problem" - Mixture

            cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

            R Offline
            R Offline
            Rajeev Goutham
            wrote on last edited by
            #5

            Thanks Alok, will check that. Thanks, Rajeev

            1 Reply Last reply
            0
            • R Rajeev Goutham

              HI Alok, Problem is existing application in non mfc. for displaying a small dialog do i need to make that existing application also Mfc one. please guide. Thanks, Rajeev

              T Offline
              T Offline
              ThatsAlok
              wrote on last edited by
              #6

              Rajeev.Goutham wrote:

              Problem is existing application in non mfc. for displaying a small dialog do i need to make that existing application also Mfc one. please guide.

              No not necessary, you can create dialog box in non-mfc environment also. MFC is just wrapper around win32 based apis

              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
              Never mind - my own stupidity is the source of every "problem" - Mixture

              cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

              W 1 Reply Last reply
              0
              • T ThatsAlok

                Rajeev.Goutham wrote:

                Problem is existing application in non mfc. for displaying a small dialog do i need to make that existing application also Mfc one. please guide.

                No not necessary, you can create dialog box in non-mfc environment also. MFC is just wrapper around win32 based apis

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                Never mind - my own stupidity is the source of every "problem" - Mixture

                cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

                W Offline
                W Offline
                wangafei
                wrote on last edited by
                #7

                yes! mfc can use api and win32 so you can do anything without mfc but it's not easy

                T 1 Reply Last reply
                0
                • W wangafei

                  yes! mfc can use api and win32 so you can do anything without mfc but it's not easy

                  T Offline
                  T Offline
                  ThatsAlok
                  wrote on last edited by
                  #8

                  wangafei wrote:

                  yes! mfc can use api and win32
                  so you can do anything without mfc
                  but it's not easy

                  Agreed, however it's the project choice to utilize services of MFC or not. if the project is targeted to basic win32, then let it be.. anybody who can program in MFC can program in win32 too.

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                  Never mind - my own stupidity is the source of every "problem" - Mixture

                  cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

                  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