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. How to change display properties of a computer through code?

How to change display properties of a computer through code?

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

    Hi. I want to change some of the display properties of a computer through code. I want to change the properties which appears on Right click on desktop-->Properties-->Appearance Tab-->‘Effects..’ button on right bottom corner. In that I want to uncheck all the options except ‘Show window contexts while dragging’ option. How can I achieve this through code?

    Sameer Thakur

    H 1 Reply Last reply
    0
    • S Sameer_Thakur

      Hi. I want to change some of the display properties of a computer through code. I want to change the properties which appears on Right click on desktop-->Properties-->Appearance Tab-->‘Effects..’ button on right bottom corner. In that I want to uncheck all the options except ‘Show window contexts while dragging’ option. How can I achieve this through code?

      Sameer Thakur

      H Offline
      H Offline
      Hans Ruck
      wrote on last edited by
      #2

      Use the SystemParametersInfo API function.


      rechi

      S 1 Reply Last reply
      0
      • H Hans Ruck

        Use the SystemParametersInfo API function.


        rechi

        S Offline
        S Offline
        Sameer_Thakur
        wrote on last edited by
        #3

        Hi Rechi. Thanks for reply. I searched SystemParametersInfo() function in MSDN. I saw all the parameters which one can either access or change through that function. But unfortunately I did not find the parameter which will help me to change the properties that I want to change.

        Sameer Thakur

        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