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. Database & SysAdmin
  3. System Admin
  4. Trackbar (slider) wierdness

Trackbar (slider) wierdness

Scheduled Pinned Locked Moved System Admin
questionlearning
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.
  • N Offline
    N Offline
    Nathan Holt at EMOM
    wrote on last edited by
    #1

    I'm hoping someone knows enough about the history of Windows to explain some things. First, why would trackbars send WM_SCROLL messages? Even if they were going for a sort of backward compatibility that would have allowed programs that used scrollbars as trackbars to be upgraded just from resource changes, it seems to me that trackbars could have supported a mode that would have allowed them to send messages of a type that frameworks wouldn't already use for scrolling. Why did they make it so hard to use? Also, the MSDN documentation says that TB_THUMBPOSITION is "WM_LBUTTONUP following a TB_THUMBTRACK notification message." This message would actually be useful if it were sent when the trackbar's position were updated by the keyboard. Instead, I have to check for every message except TB_THUMBTRACK and see if the position is different from my last recorded position to decide when a lasting adjustment to a thumb position is made. Why didn't they make TB_THUMBPOSITION work for that? Nathan Holt

    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