sfWindow.create(sf::VideoMode(mode.width-16,mode.height-32),"GloSC_OverlayWindow");//Window is too large ; always 16 and 32 pixels? - sf::Style::None breaks transparency!
sfWindow.setFramerateLimit(iRefreshRate);
sfWindow.setPosition(sf::Vector2i(0,0));
makeSfWindowTransparent(sfWindow);
sfWindow.setActive(false);
consoleHwnd=GetConsoleWindow();//We need a console for a dirty hack to make sure we stay in game bindings
//QT Windows cause trouble with the overlay, so we cannot use them
sfWindow.create(sf::VideoMode(mode.width-16,mode.height-32),"GloSC_OverlayWindow");//Window is too large ; always 16 and 32 pixels? - sf::Style::None breaks transparency!
sfWindow.setFramerateLimit(iRefreshRate);
sfWindow.setPosition(sf::Vector2i(0,0));
makeSfWindowTransparent(sfWindow);
sfWindow.setActive(false);
consoleHwnd=GetConsoleWindow();//We need a console for a dirty hack to make sure we stay in game bindings
//QT Windows cause trouble with the overlay, so we cannot use them
#ifndef DEBUG
ShowWindow(consoleHwnd,SW_HIDE);
ShowWindow(consoleHwnd,SW_HIDE);
#endif // DEBUG
if(bEnableControllers)
controllerThread.run();
if(bEnableControllers)
controllerThread.run();
QTimer::singleShot(2000,this,&SteamTargetRenderer::launchApp);// lets steam do its thing
QTimer::singleShot(2000,this,&SteamTargetRenderer::launchApp);// lets steam do its thing
if(hmodGameOverlayRenderer!=nullptr)
{
//Hook MessageQueue to detect if overlay gets opened / closed
//Steam Posts a Message with 0x14FA / 0x14F7 when the overlay gets opened / closed