43 |
case WM_INITDIALOG: |
case WM_INITDIALOG: |
44 |
SetDlgItemText (dlg, IDC_KEYPROG_CB, ""); |
SetDlgItemText (dlg, IDC_KEYPROG_CB, ""); |
45 |
SetForegroundWindow (dlg); |
SetForegroundWindow (dlg); |
46 |
|
SetWindowText (dlg, _("Key Generation - Progress Dialog")); |
47 |
center_window (dlg, NULL); |
center_window (dlg, NULL); |
48 |
dlg_hwnd = dlg; |
dlg_hwnd = dlg; |
49 |
return TRUE; |
return TRUE; |
62 |
keygen_cb_thread (void *opaque) |
keygen_cb_thread (void *opaque) |
63 |
{ |
{ |
64 |
DialogBoxParam (glob_hinst, (LPCSTR)IDD_WINPT_KEYPROG, |
DialogBoxParam (glob_hinst, (LPCSTR)IDD_WINPT_KEYPROG, |
65 |
GetActiveWindow (), keygen_cb_dlg_proc, NULL); |
GetActiveWindow (), keygen_cb_dlg_proc, 0); |
66 |
ExitThread (0); |
ExitThread (0); |
67 |
return 0; |
return 0; |
68 |
} |
} |