Author Topic: Web Browser  (Read 26691 times)

0 Members and 2 Guests are viewing this topic.

JRS

  • Guest
Re: Web Browser
« Reply #60 on: August 02, 2013, 07:50:17 PM »
King Aurel,

Nice Job!

Mastering COM could be your legacy.

John

Aurel

  • Guest
Re: Web Browser
« Reply #61 on: August 09, 2014, 08:03:51 AM »
 testing ...
...............testing...................
................................................1...........2..............3

/ i almost forget about this small program  ::)

« Last Edit: October 02, 2014, 08:45:23 AM by Aurel »

Charles Pegge

  • Guest
Re: Web Browser
« Reply #62 on: August 09, 2014, 09:18:16 AM »

Thanks Aurel, I'll add it it to the collection :)

Aurel

  • Guest
Re: Web Browser
« Reply #63 on: August 10, 2014, 12:52:25 AM »
OK Charles...
I must check again JoseRoca code to implement standard browsing functions
and also i must look into Creative Basic source
I hope that will work . ;)

Aurel

  • Guest
Re: Web Browser
« Reply #64 on: August 17, 2014, 07:42:23 AM »
Hi people
There are some good news about o2 browser example..
after all this mumbo jumbo with Atl i decided to gave up of Atl.
Atl is just a template without additional functions....
so i try again create web dll in EBasic and after 2 hour of testing it

looks that i get embeded (attached) browser into main window.
if all goes well i will add standard browser functions...
« Last Edit: October 02, 2014, 08:45:39 AM by Aurel »

Aurel

  • Guest
Re: Web Browser
« Reply #65 on: August 17, 2014, 08:02:14 AM »
and here is as child window so act as control...
i still cannot figured how each time resize attached browser  ::)
« Last Edit: October 02, 2014, 08:45:52 AM by Aurel »

Mike Lobanovsky

  • Guest
Re: Web Browser
« Reply #66 on: August 17, 2014, 08:51:57 AM »
Hi Aurel,

Your main window should have some callback attached to it that would be exposed to you entirely as an Oxygen WinMain() in Charles' GUI scripts, or as a series of event subs similar to VB6. In any case, you will have access to either a WM_SIZE message or something that would be similar to OnSize()/OnResize()/etc event handler.

This event handler will usually give access to the new width and height of the main window as it is being resized. For example, if you're using WM_SIZE then its associated lParam will store the new width in its low word half, and the new height, in its high word half.

You should use a call to e.g. MoveWindow() or SetWindowPos() WinAPI in this event handler or Case WM_SIZE to resize your child browser window by its own hWnd to a new size proportionately to the changes in the main window's width and height, usually preserving the original aspect ratio of the child browser window.

JRS

  • Guest
Re: Web Browser
« Reply #67 on: August 17, 2014, 09:54:02 AM »
Analogy: Adding COM support to your BASIC application.



P.S.  I recently owned a 73 Imperial with a 440. It was like a living room on wheels. Sold it when gas prices started approaching $3. A fun highway car. It held the record in town as the longest stock passenger car. It was called John's Green Bean. What a beast!

This is what my car looked like but string bean green.

« Last Edit: August 17, 2014, 01:05:02 PM by John »

Aurel

  • Guest
Re: Web Browser
« Reply #68 on: August 17, 2014, 12:49:36 PM »
thanks Mike
I understand very well what i must to do because i have a lot of experience with
controls ..etc
but this situation is not typical .
EB have automatic resize of window with flag @size
i must find value of this flag...i will pos code later and you will see that
is little bit tricky.. :D

Mike Lobanovsky

  • Guest
Re: Web Browser
« Reply #69 on: August 17, 2014, 01:58:10 PM »
Aurel,

In Windows, you can subclass any window with your own callback to get access to its internal message pipe and use its WM_SIZE and other messages for whatever you want. If you can't get or figure out or use any original flag or event handler or whatever of a window, just subclass it and be done with it.

This is how astonishing results are being achieved in VB6 which is otherwise a futile black box designed for dummies.

Mike Lobanovsky

  • Guest
Re: Web Browser
« Reply #70 on: August 17, 2014, 02:08:40 PM »
John,

This baby looks like its hood and front wheels would be leaving the town while its rear is still five hundred yards behind the city line.

Do you also wear a Stetson, neckerchief and cowboy boots to match?

$3 you say? Per gallon? And calling it expensive?!

:D

JRS

  • Guest
Re: Web Browser
« Reply #71 on: August 17, 2014, 02:18:39 PM »
Recently owned = 8 years ago.  ;)

That baby would lay rubber even as heavy as it was. I had it over 100 on a stretch of Hwy. and still had peddle. If I were ever in a car accident, I would feel bad for the other guy.

Aurel

  • Guest
Re: Web Browser
« Reply #72 on: August 17, 2014, 11:31:23 PM »
Quote
$3 you say? Per gallon? And calling it expensive?!
what?
where ? in Canada orrrrrrrrrrrrrrrrrrrrrrrr?

« Last Edit: October 02, 2014, 08:46:28 AM by Aurel »