Creating A File Menu

llorecode wrote on Friday, June 26, 2015:

I’ve made a basic window in Visual Studio using GLFW. I am wondering on how to add a file menu to the window. I know I can use HMENU function to create one, but it won’t show up at all. Is there anyway to do this with GLFW or what?

Here is a little snippet of my code. This creates the window.

#include “Source\Graphics\window.h”

int main()
{
using namespace pixel;
using namespace Graphics;

Window window("Pixel", 800, 600);

while (!window.closed())
{
	window.update();
}

return 0;

}