Win32 - WebControl with 100% API
Win32 - WebControl with 100% API
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!
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Re: Win32 - WebControl with 100% API
http://www.purebasic.fr/english/viewtop ... 47#p180947
http://www.purebasic.fr/english/viewtopic.php?p=67087
http://www.purebasic.fr/english/viewtopic.php?p=67087
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Win32 - WebControl with 100% API
@ts-soft:
Thanks a lot for the links!
Here is again a small example...
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.
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
I think i saw an example somewhere, to create directly an IE based WebControl with COM (?) and without ATL.
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Re: Win32 - WebControl with 100% API
Maybe this one here is of use to you:
http://www.codeguru.com/cpp/i-n/ieprogr ... cation.htm
http://www.codeguru.com/cpp/i-n/ieprogr ... cation.htm
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Re: Win32 - WebControl with 100% API
@Shield, thanks for the link.
Sadly the link to the source seems to be broken.
Sadly the link to the source seems to be broken.
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Re: Win32 - WebControl with 100% API
Seems to work here: http://www.codeguru.com/code/legacy/iep ... ebpage.zip
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds

