508 |
SetMenu (dlg, menu); |
SetMenu (dlg, menu); |
509 |
if (!always_ontop) |
if (!always_ontop) |
510 |
set_menu_state (menu, ID_FILEMISC_ONTOP, MFS_UNCHECKED); |
set_menu_state (menu, ID_FILEMISC_ONTOP, MFS_UNCHECKED); |
511 |
|
else |
512 |
|
center_window2 (dlg, NULL, HWND_TOPMOST); |
513 |
fm_build (&lv, GetDlgItem (dlg, IDC_FILE_LIST)); |
fm_build (&lv, GetDlgItem (dlg, IDC_FILE_LIST)); |
|
center_window2 (dlg, NULL, HWND_TOPMOST); |
|
514 |
center_window (dlg, NULL); |
center_window (dlg, NULL); |
515 |
SetForegroundWindow (dlg); |
SetForegroundWindow (dlg); |
516 |
statbar = setup_status_bar (dlg); |
statbar = setup_status_bar (dlg); |