Reading Microsofts database about progress bars but still can't figure out where to set PBS_SMOOTH
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760820(v=vs.85).aspx
??S_??????? constants are usually styles, which you set as a parameter when you create the window/control - in CreateWindow dwStyle, or as the style for a control on a dialog.
INVOKE CreateWindowEx,NULL,ADDR szProgressClass,NULL,
WS_CHILD or WS_VISIBLE or PBS_SMOOTH,
25,170,Status_width,Status_height,hWnd,IDC_PROGRESS,hInstance,NULL
Tomato.
There is an in-memory dialog example in \masm32\examples\dialogs_later\progress.
I got it
invoke CreateWindowEx,NULL,ADDR sz_ProgressClass,NULL, WS_CHILD or WS_VISIBLE or PBS_SMOOTH,25,\
70,PROGRESS_WIDTH,PROGRESS_HEIGHT,hGlobal_Wnd,IDC_PROGRESS,hInstance,NULL
it was the PBS that confused me