Okay, i have tried many ways now and still not getting it to work.
I just want something familiar like this Code:

When the key is pressed down.

Menu pops up.
When the key is pressed down (again)
Menu will dissapear.

I've hear that many are talking about
something like this
Code:

bool menu = true;

if(GetAsyncKeyState(VK_INSERT) & 0x8000) {
menu = !menu;
}

etc etc etc.
Please help me :boobies::boobies::boobies::boobies::boobies:


Original Writen by vikingtiger in D3D Tutorials and Source Category, the date of 25-06-2015 23:58.