When I use showownedopoups function for IE and set it to false I still get popup windows. heres the code, I don't get any errors it just seems like nothing happens.
Code:int popup::disablepops() { BOOL val; HWND hwnd; DWORD err; hwnd = FindWindow("IEFrame",NULL); val = ShowOwnedPopups(hwnd,FALSE); if(val==0){ err = GetLastError(); cout<<"Error # " << err; } return 0; }





Reply With Quote