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. CSliderCtrl question

CSliderCtrl question

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpvisual-studiohelp
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
    Shay Harel
    wrote on last edited by
    #1

    Hi, I am using a slide control in a dialog and I used Visual studio to create it and place the slider on it. When I want to add the tick marks, I have a problem. I must use the Create function for that with the "TBS_AUTOTICKS" flag, but the problem is that I can't use the Create function since Visual Studio already did it for me using the macros. Any way to set this flag or override the Create function macro ? Shay

    D 1 Reply Last reply
    0
    • S Shay Harel

      Hi, I am using a slide control in a dialog and I used Visual studio to create it and place the slider on it. When I want to add the tick marks, I have a problem. I must use the Create function for that with the "TBS_AUTOTICKS" flag, but the problem is that I can't use the Create function since Visual Studio already did it for me using the macros. Any way to set this flag or override the Create function macro ? Shay

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

      Just check the "Auto ticks" checkbox in the resource editor.


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "There is no death, only a change of worlds." - Native American Proverb

      S 1 Reply Last reply
      0
      • D David Crow

        Just check the "Auto ticks" checkbox in the resource editor.


        "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

        "There is no death, only a change of worlds." - Native American Proverb

        S Offline
        S Offline
        Shay Harel
        wrote on last edited by
        #3

        Why couldn't I think about it before :) BTW, I am using VS 2003 and it also need the Tick Marks property checked. Thanks !

        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