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. MFC List Control

MFC List Control

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

    Hi , I am a novice to VC (MFC). I want to add a listcontrol on propertypage, such that it contains no. from 1 to 10 When I press scroll up button of listcontrol, the number in the list control should decrease and on pressing scroll down button the number should increase. Hope I made my need clear and specific.Please help me out! Drushti

    D 1 Reply Last reply
    0
    • M missnazar

      Hi , I am a novice to VC (MFC). I want to add a listcontrol on propertypage, such that it contains no. from 1 to 10 When I press scroll up button of listcontrol, the number in the list control should decrease and on pressing scroll down button the number should increase. Hope I made my need clear and specific.Please help me out! Drushti

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Drushti wrote: I want to add a listcontrol on propertypage, such that it contains no. from 1 to 10 How about this:

      for (int x = 0; x < 10; x++)
      {
      str.Format("%d", x + 1);
      m_listcontrol.InsertItem(x, str);
      }


      "Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow

      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