Hi, Just a quick question about adding MDI/sub window support to DirectX, is it ok to just get the DC of the window and then blit a dib over it or is there a faster/better way? What are we doing about drawing window borders?
Oliver.
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
Oliver Stieber wrote:
Hi, Just a quick question about adding MDI/sub window support to DirectX, is it ok to just get the DC of the window and then blit a dib over it or is there a faster/better way? What are we doing about drawing window borders?
If you just blit to the DC for the client area (i.e. use GetDC instead of GetDCEx) then window borders will be handled automatically. I don't know whether there is any alternative way of doing it.