Advertisement

Making menu's in MSVC.. HELP! hehe.

Started by March 29, 2002 08:18 PM
2 comments, last by Cobra 22 years, 11 months ago
Okay... this is like my second cry for help in 1 day.. something not quite right here.... but this is one I have an explanation for... I only use MSVC for compiling and searching (well.. I write my code with it, but that''s no different in MSVC)... Im kinda stuck when it comes to making menu''s now :/ See.... I made myself a media player, I''ve made the resource files, have the version stuff all in there, the icons and what-not, and I did insert->menu, but all it gives me is this horizontal bar like this. FILE | SOMETHING | SOMETHING | and you know.. you make it so that clicking file drops down e.t.c Well... thats all well and good for a v-basic menu, but I wanted to make something better for my media player... something with a bar down the side too!.. and some pictures (but thats basically it, so I dont want to code an OpenGL gui for it.. seeing as its a pretty simple design). If I have to.. I will, but I was hoping there''s a way to create more extravagant menu''s in MSVC. i want something like this (sorry for the bad text art) ---------------- ---------------- ..| ..| ..| ..| and in the huge gap would play the movies e.t.c Now I have the top one working.. but I cant make a side-menu with it. can someone offer up some help plz Thanks in advance. ~Cobra~
"Build a man a fire, and he will be warm for a day. Set a man on fire, and he will have warmth for the rest of his life"
Well... I''ve already started working on the OpenGL code for the interface... I''ve decided that''s probably the best way to go rather than using the simple MSVC ones.

HOWEVER... I''d still really like to know how to do this for future projects.

(btw... im NOT using MFC (which lets you draw the menu in more detail), and I have no plans to convert to MFC heheh.... if you can draw menu''s easier in MFC.. you should be able to without it too.. even if it is a bit more work)

Again.. any help appreciated.. for now, im off to sleep (its 03:17am and I''ve been coding for approx 11 hours straight)

~A slightly dismayed Cobra~
"Build a man a fire, and he will be warm for a day. Set a man on fire, and he will have warmth for the rest of his life"
Advertisement
Did you look in MSDN?

Platform SDK-
User Interface Services-
Windows User Interface-
Resources-
Menus-
Using Menus.

I don''t know how to do vertical menus, though. MSVC apparently uses MFC for its menu.
---visit #directxdev on afternet <- not just for directx, despite the name
You could also try using toolbars.

Another approach would be to create your own control. MSVC implements some of its controls this way. The bad thing is that it would take you a little longer doing it ).

This topic is closed to new replies.

Advertisement