Page 1 of 1
Win32 - WebControl with 100% API
Posted: Fri Feb 14, 2014 2:29 pm
by va!n
For a project where i have to use 100% Win32 API only - without the use of any 3rd part libs /dll - i need to use WebControl for showing websites. I am sure i saw something something like this in purebasic on the web - but i cant find it anymore. Has someone a working source / example? Many thanks!
Re: Win32 - WebControl with 100% API
Posted: Fri Feb 14, 2014 2:38 pm
by ts-soft
Re: Win32 - WebControl with 100% API
Posted: Sat Feb 15, 2014 11:52 am
by va!n
@ts-soft:
Thanks a lot for the links!
Here is again a small example...
Code: Select all
Import "atl.lib"
AtlAxWinInit()
EndImport
AtlAxWinInit()
OpenWindow(0,0,0,800,600," -| test |- ",#PB_Window_ScreenCentered|#PB_Window_SystemMenu)
whandle = CreateWindowEx_(0,"AtlAxWin","www.bing.de",#WS_VISIBLE|#WS_CHILD,10,10,780,580,WindowID(0),0,GetModuleHandle_(0),0)
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
This example is using ATL and its DLL... Afaik the PB WebControl is no longer based on this ATL... Where are the differences between ATL and the PB version of WebControl?
I think i saw an example somewhere, to create directly an IE based WebControl with COM (?) and without ATL.
Re: Win32 - WebControl with 100% API
Posted: Sat Feb 15, 2014 12:50 pm
by Shield
Re: Win32 - WebControl with 100% API
Posted: Sat Feb 15, 2014 3:44 pm
by va!n
@Shield, thanks for the link.
Sadly the link to the source seems to be broken.
Re: Win32 - WebControl with 100% API
Posted: Sat Feb 15, 2014 4:58 pm
by Shield