Displaying 1 result from an estimated 1 matches for "wrappedhtml".
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
...nf.rb).
Sample code of fancy about dialog for windows (for windows -- because
of using function from shell32.dll to call favorite email client and
favorite browser):
=====================================================
require ''Win32API''
require ''wxruby''
class WrappedHtml < Wx::HtmlWindow
def initialize(*args)
super
@shell = Win32API.new(''shell32'', ''ShellExecute'', ''LPPPPI'', ''L'')
end
def on_link_clicked(link)
@shell.call 0, ''open'', link.get...