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. few questons handling the common controls

few questons handling the common controls

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
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.
  • A Offline
    A Offline
    Ariel
    wrote on last edited by
    #1

    Hi there, I'm quite a newbe in MFC so i have a few questons handling the common controls : 1. is the a way to catch the Mouse Right click inside a CComboBox - the default is to show a PopUp menu and i want to do somethig else, how can it be done ? 2. How to cancel the edit mode in a CCombo box (so i can not type in it ? 3. Whats the command to select a line in a CListCtrl ( i tried CListCtrl::SelectItem but nothing happens)? - all i want to do is make a line selected at runtime ?!? 4. I', using CTreeCtrl and i want to make some nodes disabled in some conditions and enabled in others, or when a user click a node that shouldn't be enabled to return to the previous node after showing an error message - how can this be done ? Thank you alot for your time, Ariel.

    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