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.
\$\begingroup\$ \$\endgroup\$
2 - \$\begingroup\$ Is your game embedded in a WinForm or are you using a standard XNA project? \$\endgroup\$Vaughan Hilts– Vaughan Hilts2012-08-29 12:26:25 +00:00Commented Aug 29, 2012 at 12:26
- \$\begingroup\$ It is a XNA project \$\endgroup\$NDraskovic– NDraskovic2012-08-29 12:33:47 +00:00Commented Aug 29, 2012 at 12:33
Add a comment |
2 Answers
\$\begingroup\$ \$\endgroup\$
1 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 :(
- \$\begingroup\$ Haha... yeah. When I was posting my answer I noticed my links were broken the first time around. -.-; \$\endgroup\$Vaughan Hilts– Vaughan Hilts2012-08-29 12:54:39 +00:00Commented Aug 29, 2012 at 12:54
\$\begingroup\$ \$\endgroup\$
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.