   problem with spin controls
  I have created a simple spin control in a dialog box, using the VC++ resource editor, when I test it in the editor itself, its works great, however, when i use the dialogbox() function in my actual program to show the window, it fails to load the dialog box.  However, when i remove the spin control, the dialog box will load normally, which contains edit boxes, static text boxes, and various buttons.I am not using MFC, and I am wondering if anyone has expereinced this problem before.Thanks for any help  
  You need to include commctrl.h  and link with comctl32.lib (if you haven''t done so already.And in your WinMain, you''ll need to call InitCommonControls() before entering the message loop (or you could call InitCommonControlsEx()).Go look up the functions in the MSDN to get the parameter lists.   