how to create a menu like that?

Started by
7 comments, last by Endurion 10 years, 2 months ago

hello

how can one create a menu like here:

http://waylon-art.com/LearningUnreal/UE3-01-BasicNavigation_files/image002.jpg

i mean, the Generic, Actor Classes, Groups etc subpanels.

What's the name and functions for this in WINAPI? Or do you suggest using other windows library?

I a beginner and know only how to create simple menu/edit/file bar so far : /

thanks in advance.

Advertisement

If you're using WinForms...

That's a tab control across the top.

http://msdn.microsoft.com/en-us/library/system.windows.forms.tabcontrol(v=vs.110).aspx

A Checked List Box on the upper left:

http://msdn.microsoft.com/en-us/library/system.windows.forms.checkedlistbox(v=vs.110).aspx

And a Tree View control at the lower left:

http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview(v=vs.110).aspx

MSDN is your friend. That is, when it isn't telling you bold-faced lies...

- Eck

EckTech Games - Games and Unity Assets I'm working on
Still Flying - My GameDev journal
The Shilwulf Dynasty - Campaign notes for my Rogue Trader RPG

Sorry I didnt mention.

I'm using C++.

How to do this in raw C++?

Is there some kind of C++ menu editor in MSVC (unmanaged code) ?

I cant use MFC because Express edition doesnt support MFC (missing headers).

Try here http://msdn.microsoft.com/en-us/library/windows/desktop/bb760550(v=vs.85).aspx

You might find that using a more complete toolkit like Qt (or one of many others) might be more helpful than trying to muck around with the awful Win32 controls API. The QtCreator IDE does include a GUI editor for Qt applications.

Sean Middleditch – Game Systems Engineer – Join my team!

You might find that using a more complete toolkit like Qt (or one of many others) might be more helpful than trying to muck around with the awful Win32 controls API. The QtCreator IDE does include a GUI editor for Qt applications.


That's my recommendation too. You could actually make a prettier menu than the image because Qt supports css and looks more design oriented.

UNREAL ENGINE 4:
Total LOC: ~3M Lines
Total Languages: ~32

--
GREAT QUOTES:
I can do ALL things through Christ - Jesus Christ
--
Logic will get you from A-Z, imagination gets you everywhere - Albert Einstein
--
The problems of the world cannot be solved by skeptics or cynics whose horizons are limited by the obvious realities. - John F. Kennedy

Also you'll probably notice that the Qt IDE is awesome for coding in.

I recommend wxWidgets, an open-source GUI library. It is small and easy to get start. You may want to download wxFormBuilder, a GUI editor for wxWidgets. It generates C++ and python code for you.

wxWidgets

http://www.wxwidgets.org/

wxFormBuilder

http://sourceforge.net/projects/wxformbuilder/

The Tab control is available in raw win32. It provides the tabs and their looks. You do have to manage the changing of child pages yourself.

Simple setup here: http://winapi.freetechsecrets.com/win32/WIN32Creating_a_Tab_Control.htm

More complex wrapper: http://www.codeproject.com/Articles/14712/Win32-SDK-C-Tab-Control-Made-Easy

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

This topic is closed to new replies.

Advertisement