Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Web Win32/WTL Hybrid

, 22 Dec 2005
How to implement a two-way communication path from IExplorer and WTL code
webwin32sample.zip
html
res
toolbar.bmp
WebWin32Sample.exe.manifest
WebWin32Sample.ico
WebWin32SampleDoc.ico
WebWin32EventHandler.rgs
WebWin32HTMLEventHandler.rgs
WebWin32Lib.rgs
WebWin32Sample.rgs
WebWin32Sampleps.def
WebWin32Sampleps.mk
webwin32samplevc6.zip
toolbar.bmp
WebWin32Sample.exe.manifest
WebWin32Sample.ico
WebWin32Sampledoc.ico
WebWin32Sampleps.def
WebWin32Sample.dsp
WebWin32Sample.dsw
WebWin32Sampleps.mk
WebWin32Sample.opt
WebWin32Sample.plg
QQQQ.rgs
WebWin32EventHandler.rgs
WebWin32HTMLEventHandler.rgs
WebWin32Lib.rgs
WebWin32Sample.rgs
WebWin32Sample.idl.seg
WebWin32Sample.tlb
<html>
<body bgcolor='#306090'>
<font color='white' face='verdana' size='2'>
<input type="button" value="sample messagebox" onclick="testmsgbox()"><br/>
<hr>
<input type="button" value="Set message words at status bar" onclick="setstatusbartext('A simple words...')"><br/>
<hr>
<input type="button" value="Hide tree view" onclick="hidetree()"><br/>
<input type="button" value="Show tree view" onclick="showtree()"><br/>
<hr>
Text: <input name='newitem' type='text' value='ChildText' size='12'> &nbsp; <input type="button" value="Add child to selected tree item" onclick="addchild()"><br/>
<hr>
<form name='testForm'>
<table cellpadding='0' cellspacing='0' style='color:white;font-face:verdana;font-color:white;'
<tr><td align='right'>First Name:</td><td><input name='firstName' value='Jesus' size='12'></td></tr>
<tr><td align='right'>Last Name:</td><td><input name='lastName' value='Salas' size='12'></td></tr>
<tr><td align='right'>Address: </td><td><input name='address' value='Spain!' size='12'></td></tr>
<tr><td align='right'>Check this checkbox:</td><td>  <input name='ILikeIt' type='checkbox' checked' size='12'></td></tr> 	
<tr><td align='right'>Country: </td><td>
<select name='country'>
   <option value='valueSpain'> Spain
   <option value='valueUSA'>   USA
   <option value='otherCountry'>otherCountry
</select>
</td></tr> 	
</table>
<input name="buttonSubmit" type='button' value='Submit Me!!'>
</form>



<hr>
<script language="VBScript">
sub testmsgbox()
    external.MyMessageBox "Hola","Adios"
end sub
sub hidetree()
    external.HideTree() 
end sub
sub showtree()
    external.ShowTree() 
end sub
sub setstatusbartext( text )
    external.statusbartext = text
end sub

sub addchild()
    external.AddChildToTree( window.document.all("newitem").value )
end sub

</script>
</font>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Jesus Salas
CEO wave-vs.net
Spain Spain
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141216.1 | Last Updated 22 Dec 2005
Article Copyright 2002 by Jesus Salas
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid