フルスクリーンとウィンドウの保存方法について
Posted: 2008年11月24日(月) 23:25
環境設定の所で終了時にフルスクリーンとウィンドウを保存したいです。
よろしくお願いします。
bool bfullscreen = g_pD3d->IsFullScreen(); //ウィンドウモードフラグ
bfullscreen=!bfullscreen;
//終了
if( g_pInput->PushMouseBtn(0) )
{
static CRect rectWnd;
//画像の矩形
r = Ent2.GetRect();
//矩形内にマウスがある場合
if( r.PtInRect( x, y ) ) {
PostQuitMessage(0);
}
}
よろしくお願いします。
bool bfullscreen = g_pD3d->IsFullScreen(); //ウィンドウモードフラグ
bfullscreen=!bfullscreen;
//終了
if( g_pInput->PushMouseBtn(0) )
{
static CRect rectWnd;
//画像の矩形
r = Ent2.GetRect();
//矩形内にマウスがある場合
if( r.PtInRect( x, y ) ) {
PostQuitMessage(0);
}
}