public int SetProgressBarPosition( int newPosition )
{
// TDM_SET_PROGRESS_BAR_POS = WM_USER+106, // wParam = new position
return (int)NativeMethods.SendMessage (
this.handle,
(uint)NativeMethods.TASKDIALOG_MESSAGES.TDM_SET_PROGRESS_BAR_POS,
(IntPtr)newPosition,
IntPtr.Zero );
}