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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to create dialog based app in win32 without using resource

how to create dialog based app in win32 without using resource

Scheduled Pinned Locked Moved C / C++ / MFC
tutoriallearning
4 Posts 3 Posters 1 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.
  • T Offline
    T Offline
    tamsel
    wrote on last edited by
    #1

    hi, first: how to create dialog based app in win32 without using resource and to add radio button and listbox second: after this how modeless dialog can be created from rom that modal and to transfer data from modal and to modeless in win32

    T D 2 Replies Last reply
    0
    • T tamsel

      hi, first: how to create dialog based app in win32 without using resource and to add radio button and listbox second: after this how modeless dialog can be created from rom that modal and to transfer data from modal and to modeless in win32

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

      tamsel wrote: to add radio button and listbox I know the answer of this Question But forget the Api... tamsel wrote: how to create dialog based app in win32 without using resource use CreateWindow (if using Win32 api) with BUTTON as Class ....

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      cheers, Alok Gupta VC Forum Q&A :- I/ IV

      1 Reply Last reply
      0
      • T tamsel

        hi, first: how to create dialog based app in win32 without using resource and to add radio button and listbox second: after this how modeless dialog can be created from rom that modal and to transfer data from modal and to modeless in win32

        D Offline
        D Offline
        douglasjordan
        wrote on last edited by
        #3

        You could use CreateDialogIndirect to create the dialog window. It uses a template in memory in standard form but not neccessarily a resource identifier. Adding additional controls on the fly can be done with CreateWindow and specifying the appropriate class. Not sure what you mean on your second question. There is very little difference in the dialog template between modal and modeless.

        T 1 Reply Last reply
        0
        • D douglasjordan

          You could use CreateDialogIndirect to create the dialog window. It uses a template in memory in standard form but not neccessarily a resource identifier. Adding additional controls on the fly can be done with CreateWindow and specifying the appropriate class. Not sure what you mean on your second question. There is very little difference in the dialog template between modal and modeless.

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

          douglasjordan wrote: CreateDialogIndirect to create the dialog win Nice, I forget that api :)... thanks

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV

          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