Implemented handler for B_APP_ACTIVATED and (but not really) for _SHOW_DRAG_HANDLES_

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11512 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-02-28 16:27:49 +00:00
parent 2f4be4bfc4
commit f8411ab138
+17 -4
View File
@@ -904,11 +904,24 @@ BApplication::DispatchMessage(BMessage *message, BHandler *handler)
case B_PULSE:
Pulse();
break;
// TODO: Handle these as well
case _SHOW_DRAG_HANDLES_:
case B_APP_ACTIVATED:
{
bool active = false;
message->FindBool("active", &active);
AppActivated(active);
break;
}
case _SHOW_DRAG_HANDLES_:
{
bool visible = false;
message->FindBool("visible", &visible);
// TODO: Call the registrar or whoever is responsible for this
break;
}
// TODO: Handle these as well
// These two are handled by BTextView classes, so
// BApplication probably forwards these messages to them.
case _DISPOSE_DRAG_: