Hi All, I'm new to DirectX and have been studying the tut's in the sdk but have come across a small problem when resizing the form.
I noticed they handle Minimised in the OnResize override but when I size the window to nothing vertically it throws an exception. There is also code in place to handle pausing and reseting the device, these things I can understand but don't help.
I've searched high and low for a good explanation but so far I've come up short. I've seen code that handles the sizing of panels to prevent them from being (0,0) say but how do you handle a forms client rect?
I probably will move it to a panel anyway but I'd just like to work this one out first.
If you need to see some error reports or code, let me know but I don't think this is an isolated problem and hopefully I'm just missing something simple.
Thanks in advance for any help,
Cheers,
Mick.
Whoops, my appologies for posting in the wrong forum, could a mod make the changes if needed, thanks.