} else { SetRadio(hdlg, rad4, PR_FALSE, PR_FALSE); SetRadio(hdlg, rad5, PR_TRUE); SetRadio(hdlg, rad6, PR_FALSE);
UINT CALLBACK PrintHookProc(HWND hdlg, UINT uiMsg, WPARAM wParam, LPARAM lParam) {  if (uiMsg == WM_COMMAND) {    gFrameSelectedRadioBtn = LOWORD(wParam);  } else if (uiMsg == WM_INITDIALOG) {    PRINTDLG *   printDlg    = (PRINTDLG *)lParam;    PRBool       doingFrames = (PRBool)printDlg->lCustData;    HWND         collateChk  = GetDlgItem (hdlg, chx2);    if (collateChk) {      ::ShowWindow(collateChk, SW_SHOW);    }    if (!doingFrames) {      // we are using this function to disabe the group box      SetRadio(hdlg, grp3, PR_FALSE, PR_FALSE);       // now disable radiobuttons      SetRadio(hdlg, rad4, PR_FALSE, PR_FALSE);       SetRadio(hdlg, rad5, PR_FALSE, PR_FALSE);       SetRadio(hdlg, rad6, PR_FALSE, PR_FALSE);     } else {      SetRadio(hdlg, rad4, PR_FALSE, PR_FALSE);  // XXX this is just temporary      SetRadio(hdlg, rad5, PR_TRUE);       SetRadio(hdlg, rad6, PR_FALSE);     }  }  return 0L;}