Lines Matching refs:hDlg
456 #define PropSheet_SetCurSel(hDlg, hpage, index) \
457 SendMessageA(hDlg, PSM_SETCURSEL, (WPARAM)index, (LPARAM)hpage)
459 #define PropSheet_RemovePage(hDlg, index, hpage) \
460 SNDMSG(hDlg, PSM_REMOVEPAGE, index, (LPARAM)hpage)
462 #define PropSheet_AddPage(hDlg, hpage) \
463 SNDMSG(hDlg, PSM_ADDPAGE, 0, (LPARAM)hpage)
465 #define PropSheet_Changed(hDlg, hwnd) \
466 SNDMSG(hDlg, PSM_CHANGED, (WPARAM)hwnd, 0)
468 #define PropSheet_RestartWindows(hDlg) \
469 SNDMSG(hDlg, PSM_RESTARTWINDOWS, 0, 0)
471 #define PropSheet_RebootSystem(hDlg) \
472 SNDMSG(hDlg, PSM_REBOOTSYSTEM, 0, 0)
474 #define PropSheet_CancelToClose(hDlg) \
475 PostMessage(hDlg, PSM_CANCELTOCLOSE, 0, 0)
477 #define PropSheet_QuerySiblings(hDlg, wParam, lParam) \
478 SNDMSG(hDlg, PSM_QUERYSIBLINGS, wParam, lParam)
480 #define PropSheet_UnChanged(hDlg, hwnd) \
481 SNDMSG(hDlg, PSM_UNCHANGED, (WPARAM)hwnd, 0)
483 #define PropSheet_Apply(hDlg) \
484 SNDMSG(hDlg, PSM_APPLY, 0, 0)
486 #define PropSheet_SetTitle(hDlg, wStyle, lpszText)\
487 SNDMSG(hDlg, PSM_SETTITLE, wStyle, (LPARAM)(LPCTSTR)lpszText)
489 #define PropSheet_SetWizButtons(hDlg, dwFlags) \
490 PostMessage(hDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)dwFlags)
492 #define PropSheet_PressButton(hDlg, iButton) \
493 PostMessage(hDlg, PSM_PRESSBUTTON, (WPARAM)iButton, 0)
495 #define PropSheet_SetCurSelByID(hDlg, id) \
496 SNDMSG(hDlg, PSM_SETCURSELID, 0, (LPARAM)id)
498 #define PropSheet_SetFinishText(hDlg, lpszText) \
499 SNDMSG(hDlg, PSM_SETFINISHTEXT, 0, (LPARAM)lpszText)
501 #define PropSheet_GetTabControl(hDlg) \
502 (HWND)SNDMSG(hDlg, PSM_GETTABCONTROL, 0, 0)
504 #define PropSheet_IsDialogMessage(hDlg, pMsg) \
505 (BOOL)SNDMSG(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
507 #define PropSheet_GetCurrentPageHwnd(hDlg) \
508 (HWND)SNDMSG(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
510 #define PropSheet_InsertPage(hDlg, index, hpage) \
511 SNDMSG(hDlg, PSM_INSERTPAGE, (WPARAM)(index), (LPARAM)(hpage))
513 #define PropSheet_SetHeaderTitle(hDlg, index, lpszText) \
514 SNDMSG(hDlg, PSM_SETHEADERTITLE, (WPARAM)(index), (LPARAM)(lpszText))
516 #define PropSheet_SetHeaderSubTitle(hDlg, index, lpszText) \
517 SNDMSG(hDlg, PSM_SETHEADERSUBTITLE, (WPARAM)(index), (LPARAM)(lpszText))
519 #define PropSheet_HwndToIndex(hDlg, hwnd) \
520 (int)SNDMSG(hDlg, PSM_HWNDTOINDEX, (WPARAM)(hwnd), 0)
522 #define PropSheet_IndexToHwnd(hDlg, i) \
523 (HWND)SNDMSG(hDlg, PSM_INDEXTOHWND, (WPARAM)(i), 0)
525 #define PropSheet_PageToIndex(hDlg, hpage) \
526 (int)SNDMSG(hDlg, PSM_PAGETOINDEX, 0, (LPARAM)(hpage))
528 #define PropSheet_IndexToPage(hDlg, i) \
529 (HPROPSHEETPAGE)SNDMSG(hDlg, PSM_INDEXTOPAGE, (WPARAM)(i), 0)
531 #define PropSheet_IdToIndex(hDlg, id) \
532 (int)SNDMSG(hDlg, PSM_IDTOINDEX, 0, (LPARAM)(id))
534 #define PropSheet_IndexToId(hDlg, i) \
535 SNDMSG(hDlg, PSM_INDEXTOID, (WPARAM)(i), 0)
537 #define PropSheet_GetResult(hDlg) \
538 SNDMSG(hDlg, PSM_GETRESULT, 0, 0)
540 #define PropSheet_RecalcPageSizes(hDlg) \
541 SNDMSG(hDlg, PSM_RECALCPAGESIZES, 0, 0)