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. edit control properties

edit control properties

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionhelp
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...I have a form with some edit controls. there are two modes (1 and 2). In mode 1 some controls should be available for editing, and a button visible and available; and other controls should be unavailable for editing and another button not visible. Changing to mode 2 invert the availability. My problem is that I do not know if this is possible to do it at runtime. If this is possible, how do I do it? I know where to put the code to enable and unenable the controls, but I would like to know what are the visual c++ statements to do this. Can anyone give me a hand? Thanks 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

    V 1 Reply Last reply
    0
    • E emrosa

      Hello...I have a form with some edit controls. there are two modes (1 and 2). In mode 1 some controls should be available for editing, and a button visible and available; and other controls should be unavailable for editing and another button not visible. Changing to mode 2 invert the availability. My problem is that I do not know if this is possible to do it at runtime. If this is possible, how do I do it? I know where to put the code to enable and unenable the controls, but I would like to know what are the visual c++ statements to do this. Can anyone give me a hand? Thanks 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

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      Here are some essential control functions. EnableWindow() ShowWindow() MoveWindow() SetWindowPos() Kuphryn

      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