Menu Bar in D3D

Started by
0 comments, last by Dave Hunt 18 years, 2 months ago
ok here it is. I have created Menu bar loaded it from resource and now when i attached to and it is active (when pop-uped over a mouse) the loop stops rendering in d3d while menu is active. How to make not to stop rendering when menu bar is activated ?
Advertisement
I suspect your game loop looks something like:
while (true){    if (PeekMessage)    {        handle message    }    else    {        do game stuff    }}

You will need to change that to something like:
while (true){    if (PeekMessage)    {        handle message    }    do game stuff}

This topic is closed to new replies.

Advertisement