[haiku-development] Re: Help regarding Dynamic Menu in Tracker

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 26 Apr 2018 14:21:30 +0000

26 avril 2018 16:09 "Hrishi Hiraskar" <hrishihiraskar@xxxxxxxxx> a écrit:

I was able to get the function called. :D
I created a class by inheritng BHandler.

Can you check once if I'm doing the way it is supposed to be done?
https://github.com/Hrily/haiku_addon

Yes, this looks fine.

But, now I'm having another problem. Everytime I get "No files selected." 
even after selecting few
files. The current directory (dir_ref) is correct though.
I think *msg doesn't have "refs" in it. But I can't figure out why.

You can use msg->PrintToStream() if you want to see the content of the message 
(it gets sent to standard output).

-- 
Adrien.

Other related posts: