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. control box and menues

control box and menues

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++help
2 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.
  • E Offline
    E Offline
    emrosa
    wrote on last edited by
    #1

    Hello, everybody. I have an application in which I will have a control box with several data to fill in, several data to be updated, and some command buttons. I also like to add menu facilities. If I used the mfc (exe) wizard application, either I create a single document or a control-box based application. So, 1. How do I include a control box without having a menu command to invoke it, I mean that the control box appears when I start the application. 2. How do I include menues facilities to the control-box based application? I have been looking the online help, ans some manuals I have got without success. Thank you very much, Eric Manuel Rosales Pena Alfaro PhD student Unversity of Essex Wivenhoe Park Colchester, CO4 3SQ Essex, Uk email: emrosa@essex.ac.uk tel: +44-01206-87311

    M 1 Reply Last reply
    0
    • E emrosa

      Hello, everybody. I have an application in which I will have a control box with several data to fill in, several data to be updated, and some command buttons. I also like to add menu facilities. If I used the mfc (exe) wizard application, either I create a single document or a control-box based application. So, 1. How do I include a control box without having a menu command to invoke it, I mean that the control box appears when I start the application. 2. How do I include menues facilities to the control-box based application? I have been looking the online help, ans some manuals I have got without success. Thank you very much, Eric Manuel Rosales Pena Alfaro PhD student Unversity of Essex Wivenhoe Park Colchester, CO4 3SQ Essex, Uk email: emrosa@essex.ac.uk tel: +44-01206-87311

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      I think you need to read about dialogs, CFormView and related topics. To create an application with a CFormView with the wizard, create a SDI ( or MDI ) application and on the last panel, select CFormView as the base class of your view class. the wizard will open the resource editor for the form, where you'll place the different controls. To create a dialog based application. with the wizard, on the second panel, choose dialog based ( instead of single or multiple document ). and follow the instructions. For what you want, I'd suggest going with the first choice, use a CFormView base application. Max.

      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