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. TBS_DOWNISLEFT, Tracker control

TBS_DOWNISLEFT, Tracker control

Scheduled Pinned Locked Moved C / C++ / MFC
questionworkspace
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.
  • T Offline
    T Offline
    Todd Jeffreys
    wrote on last edited by
    #1

    I'm trying to setup a tracker control so that the top if the max, and the bottom is the min. It makes sense then to use TBS_DOWNISLEFT style, so I use that when creating the window. But it doesn't work (On Win2k). No matter, the top if always 0 and the bottom is always the max, with or without the flag. What's going on here?? HWND hSlider; if (!(hSlider=CreateWindowEx(0,TRACKBAR_CLASS,"",TBS_DOWNISLEFT | TBS_VERT | TBS_NOTICKS | WS_VISIBLE | WS_CHILD,0,0,30,200,hWnd,(HMENU)1,hInst,0))) return -1; SendMessage(hSlider,TBM_SETRANGEMIN,0,0); SendMessage(hSlider,TBM_SETRANGEMAX,0,100); SendMessage(hSlider,TBM_SETPOS,1,50);

    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