You can get the active window handle (see GetActiveWindow function) and check the size (GetWindowRect function) ;) good luck! Regards from Romania, Razvan Serban
razvar
Posts
-
How to detect fullscreen? -
Problems rendering flash object on WebControlHello, I am building an application using WebBrowser control (IE6 XPSP2 - Borland C++ Builder 6) and managed to register a NameSpace to pass html data "manually" (IInternetProtocol::Read) to the control every time it asks for something , it works fine for the html contents and images but when i try to load a Flash file (swf) it doesnt load :( i pass the buffer with the loaded swf file to the Read method, IInternetProtocol, just like i do with images/htmls but the flash movie will not load ... i can see the ActiveX loaded on my WebControl but the movie doesnt show and when i right click where the flash movie it was suposed to be i get the context menu with the disabled option: "movie not loaded" :( If i let the webBrowser manage the html page (INET_E_USE_DEFAULT_PROTOCOLHANDLER) it loads the flash file but i want to load the data from memory not from http:// or local file Can some one help a fellow coder resolve this problem ? Thank you for reading my post and i hope you can help me, have a nice day coding --- Regards from Romania, Razvan Serban -- modified at 11:18 Monday 28th November, 2005