0
\$\begingroup\$

Is it possible to place a MenuStrip into a XNA 4.0 project. This project is intended for PC-s only and I already have openFile dialogs, but I cant get the MenuStrip drawn. If this is not possible what would be a good alternative. I've been trying to get find it on create.msdn but it keeps redirecting me to the WinPhone/XBox selection page and I cant access the tutorials at all.

\$\endgroup\$
2
  • \$\begingroup\$ Is your game embedded in a WinForm or are you using a standard XNA project? \$\endgroup\$ Commented Aug 29, 2012 at 12:26
  • \$\begingroup\$ It is a XNA project \$\endgroup\$
    – NDraskovic
    Commented Aug 29, 2012 at 12:33

2 Answers 2

3
\$\begingroup\$

The way to do this is to embed it in a proper WinForms container. Here are the current links to the WinForms samples, since MS still haven't fixed up the old links :(

\$\endgroup\$
1
  • \$\begingroup\$ Haha... yeah. When I was posting my answer I noticed my links were broken the first time around. -.-; \$\endgroup\$ Commented Aug 29, 2012 at 12:54
1
\$\begingroup\$

Use the official sample, depending on what you want you may need more functionality. You can find more information at the link below. It includes a link to the PC template and sample.

http://code.google.com/p/xna-game-menu/

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .