Menu Bar in D3D
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 ?
I suspect your game loop looks something like:
You will need to change that to 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
Popular Topics
Advertisement