Hello everyone, glad to finally be on here after many months looking though all the help you have all given. I am having a problem with my code, I am trying to get it to handle a mouse press, and then get it to display another image. I have tried everything and am still unable to get my image to flip to my next image.

// Checks to see if the mouse is within a certain range of x, y
if((p.x > 8) && (p.x < 118))
{
// Checks to see if the mouse is within a certain range of x, y
if ((p.y > 66) && (p.y < 114))
{
// If mouse is within range, highlight the selected option
mml = MM_RESUME;
//Check to see if the left mouse has been pressed
if(GetKeyState(VK_LBUTTON & 0x80))
{
// Display Demo image if button has been pressed
VisualManager::Get()->Demo();

}
}
}


Am I using VK_LBUTTON wrong?