The Command Button Array (CBA) is usually located at the bottom of the screen in S60 devices. If a device supports switching between portrait and landscape orientations, the location of the CBA is not fixed (in relation to screen). While the control pane in the S60 UI is always positioned correctly, scalable applications that draw their own custom labels for softkeys should be aware of the correct location for the CBA.
In some phones (e.g., the Nokia E70), the softkeys will be on the right side of the screen when in landscape mode.
If an application needs to adjust its UI (softkeys positions) based on orientation, the CBA location can be retrieved with
AknLayoutUtils::CbaLocation();
Return value is one of the following:
enum TAknCbaLocation
{
EAknCbaLocationBottom, // landscape and portrait
EAknCbaLocationRight, // only landscape
EAknCbaLocationLeft // only landscape
};
More information: TSS000582