I'm messing around with DX9c + VB.NET 2005, and am fishing around for the best (as in most efficient) way to implement a custom GUI in a fullscreen DirectX game.
The drawing isn't much of a problem, though currently ugly visually, I have an ObjectManager class that holds all the windows (and other game objects that need to be drawn) and each window has it's own control collection to handle labels, textboxes, etc.
What I'm looking for is a decent way to add in mouse / keyboard events. I'm using DirectInput to handle them at the moment, however, I'm not sure how to go about 'redirecting' input to the topmost form that I've got drawn over the game GUI, and of course, that means I've got no clue how to do anything as involved as events...
So... Any suggestions?
The drawing isn't much of a problem, though currently ugly visually, I have an ObjectManager class that holds all the windows (and other game objects that need to be drawn) and each window has it's own control collection to handle labels, textboxes, etc.
What I'm looking for is a decent way to add in mouse / keyboard events. I'm using DirectInput to handle them at the moment, however, I'm not sure how to go about 'redirecting' input to the topmost form that I've got drawn over the game GUI, and of course, that means I've got no clue how to do anything as involved as events...
So... Any suggestions?