rem: PasswordWindow::PasswordWindow(ScreenSaverPrefs &prefs) : BWindow(BRect(100,100,380,250),"",B_MODAL_WINDOW_LOOK,B_MODAL_APP_WINDOW_FEEL,B_NOT_RESIZABLE), fPrefs(prefs) { Setup(); BRect screenFrame = BScreen(B_MAIN_SCREEN_ID).Frame(); BPoint point; point.x = (screenFrame.Width() - Bounds().Width()) / 2; point.y = (screenFrame.Height() - Bounds().Height()) / 2;  if (screenFrame.Contains(point)) MoveTo(point); }
add: PasswordWindow() : BWindow(BRect(100,100,400,230),"pwView",B_NO_BORDER_WINDOW_LOOK, B_FLOATING_ALL_WINDOW_FEEL  , B_NOT_MOVABLE | B_NOT_CLOSABLE |B_NOT_ZOOMABLE | B_NOT_MINIMIZABLE | B_NOT_RESIZABLE | B_ASYNCHRONOUS_CONTROLS , B_ALL_WORKSPACES), fDie(false) { Setup(); }
context: PasswordWindow::PasswordWindow(ScreenSaverPrefs &prefs) 	: BWindow(BRect(100,100,380,250),"",B_MODAL_WINDOW_LOOK,B_MODAL_APP_WINDOW_FEEL,B_NOT_RESIZABLE),	fPrefs(prefs){	Setup();	BRect screenFrame = BScreen(B_MAIN_SCREEN_ID).Frame();	BPoint point;	point.x = (screenFrame.Width() - Bounds().Width()) / 2;	point.y = (screenFrame.Height() - Bounds().Height()) / 2;	if (screenFrame.Contains(point))		MoveTo(point);}