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. Making new windows

Making new windows

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 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.
  • D Offline
    D Offline
    Dor
    wrote on last edited by
    #1

    Hi, Im building a single document application and i want to bring up a new dialog box that is a new window, ie. has its own little bar at the bottom of the screen. Can anybody help? Cheers Dor

    G P 2 Replies Last reply
    0
    • D Dor

      Hi, Im building a single document application and i want to bring up a new dialog box that is a new window, ie. has its own little bar at the bottom of the screen. Can anybody help? Cheers Dor

      G Offline
      G Offline
      Gianfranco Lanzetta
      wrote on last edited by
      #2

      I haven't notebook on head but: If you use VisualC++, you can develop this application imedialitly with i)File->New... ii) MFC Application at this point you follow step to step... this's your simgle document application... For viewing a dialog you must write: CDialog dialog; dialog.domodal(); Gianfranco Lanzetta.

      1 Reply Last reply
      0
      • D Dor

        Hi, Im building a single document application and i want to bring up a new dialog box that is a new window, ie. has its own little bar at the bottom of the screen. Can anybody help? Cheers Dor

        P Offline
        P Offline
        Paul M Watt
        wrote on last edited by
        #3

        You will want to use CreateDialog to create your dialog and make it appear modelessly, if you are using MFC, you can create an instance of your dialog object, then call the Create member, then the ShowWindow member. In order to make sure that it is in the task bar you will need to set the WS_EX_APPWINDOW style for your dialog.


        Checkout my Guide to Win32 Paint for Intermediates

        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