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\$
  • \$\begingroup\$ Is your game embedded in a WinForm or are you using a standard XNA project? \$\endgroup\$ – Vaughan Hilts Aug 29 '12 at 12:26
  • \$\begingroup\$ It is a XNA project \$\endgroup\$ – NDraskovic Aug 29 '12 at 12:33
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 :(

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ Haha... yeah. When I was posting my answer I noticed my links were broken the first time around. -.-; \$\endgroup\$ – Vaughan Hilts Aug 29 '12 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/

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.