How do I work with the slider control in MFC? I searched through my two Visual C++ books, but found nothing. I also searched MSDN, but found nothing.

Could someone give me a brief explanation on how to set it's minimum and maximum values, tic marks, and putting the value to a variable?

This would be much appreciated.