[haiku-3rdparty-dev] Re: Capturing control commands in Haiku

  • From: Fredrik Modèen <fredrik@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Tue, 8 Sep 2009 05:49:58 +0200 (CEST)

>>
>> Zenja Solaja schrieb:
......
>
> Hi,
> Well, the hypothesis of my Masters thesis is to validate the possibility
> of
> developing an automated help system using a message-oriented operating
> system such as Haiku. The help system interface sits on top of an existing
> application and is called on hitting the "Alt-H" button.
>
> Thus, I would like to capture/"listen to" any types of messages that are
> passed to and fro the interface and Application Server. I would like to
> then
> store these messages in a BFile format in a specific folder. Later on,
> when
> the Help Interface is called, I would like to run a query on these message
> attributes in the BFile and obtain "xyz" messages for displaying in the
> help
> menu. How the message information will be converted into human readable
> form
> is something I would have to look into later. :)
>
> Well, I have been able to capture the basic messages like MouseDown _MDN,
> and so on. However, when I spoke to my supervisor, Christof, he did
> mention
> capturing a few more types of messages like the drawing commands and also
> High-level commands like "Button 1 clicked" which would be more useful
> than
> _MDN and so forth.
>
> The way I have been able to capture the basic messages is using
> message_print_hook(). Hope that explains what I am trying to do.
>
> So, how do i capture the other 2 types of messages described above? I do
> understand that the high-level commands need to be manually set by me but
> I
> have no idea how or where.
>
> Thanks,
> Yash
>
If nothing else this app can perhaps be of some sort of information :)
spybmessage(http://www.bebits.com/app/3856)


-- 
MVH
Fredrik Modèen


Other related posts: