void display_message (hwnd frame_window, char *text, char *title = NULL)
{
  Dev_caps dc = {0}, query_current_screen (&dc); 

  if (window_is_active (frame_window) &&
      window_is_visible (dc.desktop_window)) 
  {
    show_message_box (text, title);
  }
}





