void BuildMenu(char * menuname, int x, int y, int h, int w, DWORD TITLECOL, DWORD BACKCOLOR, DWORD BORDERCOLOR, LPDIRECT3DDEVICE9 pDevice)
{
if(GetAsyncKeyState(VK_INSERT)&1)show=(!show); // If you press the Insert Key the menu will pop up.
if(!show) { // States the same as above.
//Your Box/Menu.
return;
}
}