int MoveMenu;
if(GetAsyncKeyState(VK_DELETE)) MoveMenu = (!MoveMenu);
if( MoveMenu ) {
POINT myCursor;
GetCursorPos(&myCursor); // get the cursor position.
if(GetAsyncKeyState(VK_LBUTTON)) {
menu.x = myCursor.x; // set the x of your menu to the cursor x position.
menu.y = myCursor.y; // set the y of your menu to the cursor y position.
}
}