Linux内核suspend状态 Linux内核支持多种类型的睡眠状态,通过设置不同的模块进入低功耗模式来达到省电功能.目前存在四种模式:suspend to idle.power-on standby(Standby).suspend to ram(STR)和sudpend to disk(Hibernate),分别对应ACPI状态的S0.S1.S3和S4. Suspend to idle完全是软件相关的并且尽量将CPU维持在深度idle状态. Power-on standby设置设备进入低功
2,在里面就可以修改初始窗口大小和窗口名字 BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs){if( !CFrameWnd::PreCreateWindow(cs) ) return FALSE;// TODO: Modify the Window class or styles here by modifying// the CREATESTRUCT cs cs.cx=500;cs.cy=500; cs.style &=~FWS_A
除IE外的浏览器查看窗口大小和位置信息: //The overall size of the browser window on the desktop var windowWidth = window.outerwidth; var windowHeight = window.outerHeight; //This is the position of the browser window on the desktop var windowX = window.screenX; var win