Shuang. Wu wrote: Or, do you have any idea to change the spin button contro's size? You can use the MoveWindow() function to resize the control anytime. Here is MSDN Documentation on the function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_cwnd.3a3a.movewindow.asp [^] Happy Programming and God Bless! "Your coding practices might be buggy, but your code is always right." Internet::WWW::CodeProject::bneacetp