The PSN_WIZNEXT notification message notifies a page that the user has chosen the Next button in a wizard property sheet. This notification message is sent in the form of a WM_NOTIFY message.
PSN_WIZNEXT lpnmhdr = (NMHDR FAR *) lParam;
Returns -1 to prevent the property sheet from advancing to the next page.