Maybe you are worrying about the difference between the NK or application and the desired display effect. How can we make the display of the application or system consistent with our requirements? Now jobsss will teach you! The screen flip of WINCE is nothing more than two types. application 2. if you don't talk much about NK, go to the topic: 1. to modify an application, add the statement [cpp] DEVMODE devmode = {0}; devmode to the OnInitDialog () function in the dialog box. dmSize = sizeof (DEVMODE); devmode. dmDisplayOrientation = DMDO_270; // devmode in 270 ° mode. dmFields = DM_DISPLAYORIENTATION; ChangeDisplaySettingsEx (NULL, & devmode, NULL, 0, NULL); In devmode. dmDisplayOrientation =, and then add the degree you want to modify. 2. NK: set the screen Rotation Step: 1) modify the Registry: Find the SMDK6410 folder in the project, and follow the path Parameter-Files-> platform. reg-> HKEY_LOCAL_MACHING-> System-> GDI-> Rotation, double-click Rotation, and change the Data parameter of Angle to the Rotation degree you want to set, for example, 90 ° (5a ), 180 ° (b4), 270 ° (10e), 360 ° (168), in which the parentheses are hexadecimal values. 2) modify the driver: follow the path strength WINCE600 \ PLATFORM \ SMK6410 \ SRC \ DRIVERS \ DISPLY \ cloud6410_disp_drv \ cloud6410_disp.cpp, double-click the courseware 6410_disp.cpp, and enter the project of the program, find [cpp] # ifdef TEMP_FIX_ROTATION_BUG m_iRotate = 0; g_bTempFirstRotation = TRUE; # else m_iRotate = rotate (); # endif SetRotateParams () in the program. We can see from the program that, if the default Rotation Degree of the display driver is 0 °, that is, the Registry is not operated, You need to modify the program so that the rotation degree is the parameter obtained from the registry. The modification is as follows: [cpp] # ifdef TEMP_FIX_ROTATION_BUG m_iRotate = GetRotateModeFromReg (); g_bTempFirstRotation = TRUE; # else // m_iRotate = GetRotateModeFromReg (); // Note: Comment out # endif SetRotateParams (); 3) system generation: go to the s36410_demo project, find Build-> Advanced Build Commands-> clean sysgen, and click clean sysgen. Wait for a while and the compilation is successful. 4) Burn the system. After step 3 is successful, find the generated image file NK in the \ WINCE600 \ OSDesigns \ cloud6410_demo \ cloud6410_demo \ RelDir \ Samsung_SMDK6410_Release path. bin, EBOOT. bin, Eboot. nb0, STEPLDR. bin, STEPLDR. nb0: this image file is required by the WinCE system.