The PSN_SETACTIVE notification message notifies a page that it is about to be activated. This notification message is sent in the form of a WM_NOTIFY message.
PSN_SETACTIVE lpnmhdr = (NMHDR FAR *) lParam;
Returns zero to accept the activation or -1 to activate the next or previous page (depending on whether the user chose the Next or Back button). To set the activation to a particular page, return the resource identifier of the page.
The PSN_SETACTIVE notification message is sent before the page is visible. An application can use this notification to initialize data in the page.
To set the return value, the dialog box procedure for the page must use the SetWindowLong function with the DWL_MSGRESULT value, and the dialog box procedure must return TRUE.
NMHDR, SetWindowLong, WM_NOTIFY
|file: /Techref/os/win/api/win32/mess/src/msg15_9.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2023/12/7 04:36,
|©2023 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.sxlist.com/techref/os/win/api/win32/mess/src/msg15_9.htm"> PSN_SETACTIVE</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!