I get this error when compiling with mingw
ani.cpp: In function 'int main()'
ani.cpp:8:31: error: 'AnimateWind
AnimateWindow(hwnd, 200, NULL);
using namespace std;
int main ()
HWND hwnd = FindWindow(NULL,TEXT("Window Name Here"));
AnimateWindow(hwnd, 200, AW_BLEND);
How do you fix this i have included the windows header file. But why is it still not working?
Last edited on
lookk at the first parameter. you are using a data type not an object of it
But what does that have to do with "was not declared in this scope"?
because you are trying to use a function with parameters that dont exist
yes it takes three paramete...... im sorry i didnt realize.... i thought your first parameter was HWND not hwnd. sorry about that
Will thanks for trying. lol