Child window dividers

Started by
14 comments, last by jwezorek 11 years, 1 month ago

How do I do it by hand?

To make the actual divider widget you need to make a custom control, which in Win32 world basically means creating a custom child window. Look at my post in this thread:
http://www.gamedev.net/topic/564692-creating-a-child-window/

However, in your case you need to implement more functionality in the window procedure. You need to paint the splitter in WM_PAINT and so forth. Generally if you've never done this before google "custom Win32 child window" and see what you find.
Advertisement
What about the window panes?

What about the window panes?

Same thing. Make the panes another kind of custom child window.
How do I do it in MFC? Like the kHED model editor. That's in MFC + OpenGL.
Never mind, Visual Studio Express doesn't have MFC.

Never mind, Visual Studio Express doesn't have MFC.

Hey Polyfrag ...

I guess it doesn't count as necro-ing if you necro your own thread. But reading back on that/this thread, you were asking about writing a game editor to Win32 and are now asking about MFC. I get the feeling that you are trying to write a game model editor "native" and don't want to have anything to do with anything that is not native. Which is fine, but in 2013 you also don't want to have anything to do with MFC. I was a big Win32 fan in the day, so I understand where you are coming from, but just to speed this all along, my advice is for you to get into QT. I think that QT is like the new Win32, in terms of GUI programming.Seriously if you want to get into GUI programming in C++, download QT Creator and test it out.

This topic is closed to new replies.

Advertisement