How to use directdraw to act as gdi?(in a normal window, not in fullscreen mode)..I tried
DDINVOKESetCooperativeLevel, lpDD, hWin, DDSCL_NORMAL
with ddscl_normal instead of
DDSCL_EXCLUSIVE or DDSCL_FULLSCREEN
but it still goes in full-screen mode!
Please help
tnx
Well, the first thing I should think you'd want to check is that you save -twice- before you compile. Sometimes pressing the button on the toolbar works, sometimes it doesn't (usually because the mouse moves off the button just before you release the left mouse button).
If you're sure that it's recompiling correctly, check for DDINVOKE SetDisplayMode. I've never tried it, but DirectX may automatically assign the DDSCL_EXCLUSIVE and DDSCL_FULLSCREEN flags to your lpDD if you tell it to change resolutions. If neither of those don't work, I'm stumped. :)
1.yes you can not change resolution in non full screen mode..
2.and dont forget to use a clipper adjusted to your window client area sizes....
Hope to help