The PSM_SETCURSELID message activates the given page in a property sheet based on the resource identifier of the page. You can send this message explicitly or by using the PropSheet_SetCurSelByID macro.
PSM_SETCURSELID wParam = 0; lParam = (LPARAM) (int) id;
Returns TRUE if successful or FALSE otherwise.
The window that is losing the activation receives the PSN_KILLACTIVE notification message, and the window that is gaining the activation receives the PSN_SETACTIVE notification message.
PropSheet_SetCurSelByID, PSN_KILLACTIVE, PSN_SETACTIVE
|file: /Techref/os/win/api/win32/mess/src/msg14_28.htm, 1KB, , updated: 2000/4/7 12:20, local time: 2022/8/17 22:40,
|©2022 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/msg14_28.htm"> PSM_SETCURSELID</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!