Suvarna's Weblog on Development for Mobile Devices

Software Design Engineer, Mobile Devices

April, 2006

  • Simple Tips for Screen Orientation Aware Apps

    1. Rule of Thumb - DO NOT hard code any screen coordinates . Try to lay all child windows/ dialog items relative to the client area 2. Handle WM_SETTINGCHANGE message in the WindowProc to Recalculate all the positions. Here is a simple example. We...