Jump to content

View more

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

win32 dialog menu with DirectX

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 Anddos   Members   

588
Like
0Likes
Like

Posted 21 October 2012 - 05:23 PM

what do i need todo in order to get this to show on the window when directx is rendering, this is for window mode btw as i know it wont work in full screen mode, ive tried setting these values

d3dpp.BackBufferWidth = SCREEN_WIDTH;
d3dpp.BackBufferHeight = SCREEN_HEIGHT-100;

http://imageshack.us/f/152/filemenupic.jpg

thanks if you can help
:)

#2 chowarth   Members   

516
Like
0Likes
Like

Posted 23 October 2012 - 03:39 AM

I'm not sure if this is going to be close or not. I'm taking a stab in the dark.

If you have already created the menu and got it showing, before adding DirectX then:

I remember when I added a status bar to my window for my DirectX11 app I had the problem where when rendering that the status bar was not visible.
I found out that when creating your window, you need to specify the flag: WS_CLIPCHILDREN, which excludes the area occupied by child windows when drawing occurs within the parent window.

Hope this is relevant, as you've not given much detail about how you created your window.
Ramblings: www.chowarth.co.uk

#3 Anddos   Members   

588
Like
0Likes
Like

Posted 24 October 2012 - 11:41 AM

the created window is in the .rc file, look at a default win32 application then you will know what i mean :)
:)

#4 Evil Steve   Members   

2016
Like
0Likes
Like

Posted 25 October 2012 - 05:33 AM

Are you calling IDirect3DDevice9::SetDialogBoxMode()?

Steve Macpherson
Senior Systems Programmer

Rockstar North





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.