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. Custom owned control going inactive

Custom owned control going inactive

Scheduled Pinned Locked Moved C / C++ / MFC
com
1 Posts 1 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.
  • G Offline
    G Offline
    Graham Reeds
    wrote on last edited by
    #1

    I am using Allan Nielsen's SuperGrid control in a project. Setting of an option will cause the control to go inactive, but the control does not deactive in the 'standard way' when using EnableWindow(FALSE). The background of the control grey's out like normal but the check boxes and text does not. What I would like to happen when the item is deactivated is the selected item to become deselected and the item to be properly greyed out - not just blanket covered by a grey box as that looks unprofessional. I have tinkered around with the code and looked at the DrawItem & ODS_INACTIVE but nothing i have done makes any difference. I need some frame of reference but no examples I can find on ownder drawn controls actually go into making them respond to EnableWindow command. Thanks, G.

    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