[サンプルコード]
Function OnWindowStateChanged(e){
try{
if( e.state == 8 ){
/* 最前面のアプリケーションがBiz/Browser Mobileから他の
アプリケーションへ変更された場合 */
//.DisplayOrient = Root.deg90;
Form1.Label3.Value = "横";
} else if( e.state == 16 ){
/* 他のアプリケーションからBiz/Browser Mobileへ変更された */
//.DisplayOrient = Root.deg0;
Form1.Label3.Value = "縦";
}
}catch(e){
}
}
CRSファイル形式のサンプルを
「最前面アプリケーションの判断サンプル (BMP_A009.zip)」
よりご利用いただけます。
|