Wndproc

For general discussion related FlowStone
Post Reply
radido
Posts: 12
Joined: Wed Feb 18, 2009 12:33 pm
Location: Germany

Wndproc

Post by radido »

Hi,
if someone had an example for "Wndproc" with Ruby for me
thanks :D
rlr
Posts: 27
Joined: Tue Jul 13, 2010 9:17 pm

Re: Wndproc

Post by rlr »

I dont quite understand what you are asking for. The graphics functions wich are part oft the RubyEdit class work differently. AFAIK there is also no access to the window's HWND.
radido
Posts: 12
Joined: Wed Feb 18, 2009 12:33 pm
Location: Germany

Re: Wndproc

Post by radido »

Sorry for misunderstanding..

# This gets the caption of a window from a handle
s = ' '*64
getWindowText = Win32API.new("user32", "GetWindowText", ['L','P','L'], 'L')
getWindowText.Call(handle,s,64)
watch "caption",s


With this stuff, I can only identify the sender of a message:
But can´t receive from the sender a message.
Do you have an explanation?
Post Reply