Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with MSComctlLib.Slider.2 slider control

Status
Not open for further replies.

vernpace

Programmer
Feb 22, 2015
209
US
We have a project that requires extensive use of a slider control. We have tried a few (e.g. FoxySlider, ctl32_trackbar), but have found that the good old Microsoft Slider Control 6.0 (SP6) is the best for our purpose EXCEPT for the focus rectangle as shown below:

Untitled_kyl21q.png


This is annoying. A possible solution to hide the focus rectangle is the SendMessage API using the WM_UPDATEUISTATE message along with both UIS_SET (low-order word) and UISF_HIDEFOCUS (high-order word) for the wParam parameter.
Does anyone know how to construct the low-order and high-order words for the wParam parameter to be used with SendMessage? Bit shifting?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top