I am trying to create an if statement that when the user releases the left mouse button it will write that out to a text file. I have tried multiple different scenario's and have had no luck, here is some of what I have tried. Thanks for your help!
if(mouse_event == WM_LBUTTONUP)
{
myfile.open("testingZoom.txt", std::ios_base::app);
myfile << "Mouse Release";
}
OR
if(BN_UNPUSHED == WM_LBUTTONUP)
{
myfile.open("testingZoom.txt", std::ios_base::app);
myfile << "Mouse Release";
}