time-killer-games Guest
|
 |
Reply #75 Posted on: September 28, 2014, 08:43:21 PM |
|
|
All three tested Windows 7. I don't think my OS is the problem but I have a few ideas crazy enough they might work, you mentioned the window foucs switching repeatedbly between the browser control and the game window, I have a possible fix I'm working on will share a link in a couple short minutes. Thank you for taking your time to test Darkstar2 and Lonewolff! You guys are life savers! 
|
|
|
|
|
Darkstar2
 Joined: Jan 2014
Posts: 1,238
|
 |
Reply #77 Posted on: September 28, 2014, 09:22:28 PM |
|
|
It made it FAR WORSE  it's now creating several windows of itself when clicking mouse, still the window loses focus as soon as run. It was so bad, I had to manually end the process in task manager  I suspect the problem might have to do with the styler. Could you try sending me a browser example, WITHOUT the styler or any calls to the styler, just the embedding browser.
|
|
|
time-killer-games Guest
|
 |
Reply #78 Posted on: September 28, 2014, 09:26:34 PM |
|
|
|
|
|
|
Darkstar2
 Joined: Jan 2014
Posts: 1,238
|
 |
Reply #79 Posted on: September 28, 2014, 09:29:56 PM |
|
|
Quote from: time-killer-games on September 28, 2014, 09:26:34 PM Okay with this version I commented out all windowstyler calls.
https://dl.dropboxusercontent.com/u/79893663/Extensions/Web%20Browser/downloads/temp/WebBrowser.gms.exe
Thanks
lol thanks I already went ahead and did that, still same problem. I tried making changes to the code, modifying stuff, removing stuff, same stuff... I tried running the barebones browser plugin without embed, white area....and flickering hourglass/arrow, it's as if it is retrying in a loop of some sort. Sorry.
|
|
|
|
|
Darkstar2
 Joined: Jan 2014
Posts: 1,238
|
 |
Reply #81 Posted on: September 28, 2014, 09:38:50 PM |
|
|
Are we  ? because it feels colder to me  BTW I tried stuff on my own here, I tried local HTML viewing, same problem. I tried disabling web styling, I tried changing other things. there is one thing I have in mind I will go check.
|
|
|
time-killer-games Guest
|
 |
Reply #82 Posted on: September 28, 2014, 09:39:36 PM |
|
|
|
did you try that most recent link? What'd do?
|
|
|
Darkstar2
 Joined: Jan 2014
Posts: 1,238
|
 |
Reply #83 Posted on: September 28, 2014, 09:42:53 PM |
|
|
It displayed POOP in a white background - however there is still the problem of window losing focus, (by losing focus I don't mean disappearing, it is the caption area that goes from gradient blue to grey as if it was a stay on top and you tried clicking on another window, when clicking in caption area it becomes blue again, but when clicking in any area inside client area it loses focus. But yeah, I see the word poop. lol! BTW, this topic should be moved to work in progress as I think we all agree that this is not a finished game 
|
|
|
time-killer-games Guest
|
 |
Reply #84 Posted on: September 28, 2014, 09:49:22 PM |
|
|
THATS IT I KNOW THE PROBLEM!!! I have to do something real quick and I'll edit after.  The losing focus issue is because the browser controll is a seperate window being embedded in there, there's no way to fix that unless I re-write in c++.
|
|
|
Goombert
 Joined: Jan 2013
Posts: 2,991
|
 |
Reply #85 Posted on: September 28, 2014, 09:50:38 PM |
|
|
QuoteThe losing focus issue is because the browser controll is a seperate window being embedded in there, there's no way to fix that unless I re-write in c++. Not necessarily, can't you just intercept the messages from the browser control handle?
|
|
|
time-killer-games Guest
|
 |
Reply #86 Posted on: September 28, 2014, 10:10:14 PM |
|
|
Okay THIS should work but if it doesn't I know what the problem is ahead of time I just need to make sure! Try this: https://dl.dropboxusercontent.com/u/79893663/Extensions/Web%20Browser/downloads/temp/WebBrowser.exeand aside from the window focus we should be good to go! THANK YOU!  @Robert I don't want to eat up your time but if you'd like to show me an example code snippet I'd appreciate it.  It's not a contol, it's a control inside a window being created by the DLL, and then that window is being embedded into the game with SetParent().
|
|
|
Darkstar2
 Joined: Jan 2014
Posts: 1,238
|
 |
Reply #87 Posted on: September 28, 2014, 10:15:06 PM |
|
|
It works, and as you know, still the focus problem.  Ok the losing focus thing might be due to the embedded window within a window and so that takes "priority", if you click outside the embedded browser area the initial window is back in focus, if you click on the browser area the caption turns grey as the focus is placed on the embedded browser. since the browser itself is another window. So in theory this should be normal behaviour, as only one windows at a time can be in focus, and since the embedded window has no border, it gives a weird impression although it's acting normal...You can switch back and forward focus, now when clicking on the initial window, it does not force itself to lose focus, but stays in it, unless you press inside the embedded area.
|
|
|
|
|
|
|
|