|
|
Darkstar2
|
|
Reply #77 Posted on: September 28, 2014, 04:22:28 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
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.
|
|
|
Logged
|
|
|
|
|
Darkstar2
|
|
Reply #79 Posted on: September 28, 2014, 04:29:56 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
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.
|
|
|
Logged
|
|
|
|
|
Darkstar2
|
|
Reply #81 Posted on: September 28, 2014, 04:38:50 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
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.
|
|
|
Logged
|
|
|
|
time-killer-games
|
|
Reply #82 Posted on: September 28, 2014, 04:39:36 pm |
|
|
"Guest"
|
did you try that most recent link? What'd do?
|
|
|
Logged
|
|
|
|
Darkstar2
|
|
Reply #83 Posted on: September 28, 2014, 04:42:53 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
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
|
|
|
Logged
|
|
|
|
time-killer-games
|
|
Reply #84 Posted on: September 28, 2014, 04:49:22 pm |
|
|
"Guest"
|
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++.
|
|
|
Logged
|
|
|
|
Goombert
|
|
Reply #85 Posted on: September 28, 2014, 04:50:38 pm |
|
|
Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
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++. Not necessarily, can't you just intercept the messages from the browser control handle?
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.
|
|
|
time-killer-games
|
|
Reply #86 Posted on: September 28, 2014, 05:10:14 pm |
|
|
"Guest"
|
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().
|
|
« Last Edit: September 28, 2014, 05:13:21 pm by time-killer-games »
|
Logged
|
|
|
|
Darkstar2
|
|
Reply #87 Posted on: September 28, 2014, 05:15:06 pm |
|
|
Joined: Jan 2014
Posts: 1238
|
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.
|
|
« Last Edit: September 28, 2014, 05:22:16 pm by Darkstar2 »
|
Logged
|
|
|
|
|
|
|