Advertisement

Menu

Started by December 05, 2003 01:13 PM
2 comments, last by Kheteris 21 years, 3 months ago
Anyone know where I can find a tutorial on making a menu? There is one that someone did on Lesson 9, but it doesn't actually say what I do step by step and what I need for my functions... I sort of got it, but not to the full extent. Edit : Oh yeah, and since I'm at it, anyone know what is the command for getting rid of the maximize button on the top right? [edited by - Kheteris on December 5, 2003 2:15:55 PM]
To get rid of the maximize button, I believe you have to...
In NeHeGL.cpp in the CreateWindowGL function use these settings:

// Define Our Window Style
DWORD windowStyle = WS_CAPTION | WS_SYSMENU | WS_OVERLAPPED;

// Define The Window''s Extended Style
DWORD windowExtendedStyle = WS_EX_APPWINDOW;
Advertisement
Thanks a lot Zy - it works , but now, anyone can help me with the menu?

I went to Insert > Resource > Menu and designed it, but I really need help with the coding... I tried to understand what the guy did with lesson 9, but it doesn''t really say.

So, I am really hopping if someone knows how to do baisic things like make it appear and maybe have an exit button? Either what you know or a tutorial somewhere would be of GREAT help.

Much appreciation,

Khet
Google:

ShowMenu()
KillMenu()
AppendMenu()
InsertMenu()
LoadMenu()

etc - can''t recall too much off the top of my head .





"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared

This topic is closed to new replies.

Advertisement