Thank you very much for reply. I have already solved this problem. You said right, The handler for a *_RANGE macro has one UINT parameter, which is the control ID.
---------------------------------------- Don't let habit prevent you from trying something new.