News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

PBS_SMOOTH how to set ?

Started by Don57, October 20, 2012, 03:17:12 AM

Previous topic - Next topic

Don57

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

Tedd

??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.
Potato2

dedndave

        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.

MichaelW

There is an in-memory dialog example in \masm32\examples\dialogs_later\progress.
Well Microsoft, here's another nice mess you've gotten us into.

Don57

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