I have to say Purebasic is excellent, and moving from VB to this, is a dream. I have one question though.
In the example we use the ATL API to display the webpage in a gadget.
Code: Select all
;HTML Example viewer
;Written by Nadeem Rasool
;- Window Constants
;
Enumeration
  #Window_0
EndEnumeration
;- Gadget Constants
;
Enumeration
  #Web_0
EndEnumeration
 WindowID=OpenWindow(#Window_0, 0, 0, 640, 480,  #PB_Window_SystemMenu|#PB_Window_ScreenCentered , "Nadcom CMS",0) 
 ;The following is for the status bar
  CreateStatusBar(0, WindowID())
    StatusBarText(0, 0, "Ready...", 0)
    CreateGadgetList(WindowID())
  ;end statusbar code
  
  CreateGadgetList(WindowID())
      WebGadget(#Web_0, 10, 10, 600, 400, "http://www.google.co.uk")
 
 
 Repeat
    Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
Any help would be appreciated.
Kind Regards
Nadeem




