• Advertisement

Archived

This topic is now archived and is closed to further replies.

DX whit windows dialogs

This topic is 5494 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is it a good idea using windowes whit direct-x? for example if i need menus and options, I could use the windows instead of creating my own dialog system. So what do u say, do i make my owns or use the basic windows? Does OFP the game use windows dialogs?? They sure look like.

Share this post


Link to post
Share on other sites
Advertisement
You can sure use a dialog control as output for D3D.
You only need to pass the window handle of the control
during D3D initialization and it should work fine.

If you use a seperate thread for updating the renderer
output or a timer, you don''t even need to modify the dialog
message handler.

Share this post


Link to post
Share on other sites
quote:
Original post by darookie
You can sure use a dialog control as output for D3D.
You only need to pass the window handle of the control
during D3D initialization and it should work fine.

If you use a seperate thread for updating the renderer
output or a timer, you don''t even need to modify the dialog
message handler.


Well actualy im doing 2D but its the same. The main queston is speed. Isnt it slow when u are in exclusive mode?

Share this post


Link to post
Share on other sites

  • Advertisement