Displaying 1 result from an estimated 1 matches for "sci_getdirectfunction".
2010 Jan 10
0
Problem with StyledTextCtrl
...ich means send_msg()
returns nothing but 0.
require ''wx''
module Wx
App.run do
frame = Frame.new nil, :title => "stc"
stc = StyledTextCtrl.new frame, -1
# http://www.scintilla.org/Steps.html
fn = stc.send_msg 2184, 0, 0 # SCI_GETDIRECTFUNCTION
ptr = stc.send_msg 2185, 0, 0 # SCI_GETDIRECTPOINTER
puts "#{fn}, #{ptr}" #=> "0, 0" ?
frame.show
end
end
Why ?
My environments: Windows7, wxruby-ruby19(2.0.1)
I also tried stc.get_handle() and pass the handle to C, but still got no
respon...