请教MFC高手,下面代码会不会返回FALSE,即创建的内存dc映射模式会不会是非MM_TEXT
CDC dc;
dc.CreateCompatibleDC(NULL);
if(dc.GetMapMode()!=MM_TEXT)
{
return FALSE;
}
CDC dc;
dc.CreateCompatibleDC(NULL);
if(dc.GetMapMode()!=MM_TEXT)
{
return FALSE;
}
When the windows extent is set, the viewport will be adjusted to keep the units isotropic自己强制
SetMapMode到这个格式不就行了么?