Changeset 4401


Ignore:
Timestamp:
2003-05-29T14:42:51+12:00 (21 years ago)
Author:
sjboddie
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/configaction.cpp

    r4373 r4401  
    2727#include "configaction.h"
    2828#include "recptconfig.h"
     29
     30#ifdef GSDL_LOCAL_LIBRARY
     31// for PostMessage()
     32#  include <windows.h>
     33#endif
    2934
    3035configaction::configaction () {
     
    8489
    8590  } else if (args["cmd"] == "kill") {
    86     exit(0);
     91    textout << "killed\n";
     92#ifdef GSDL_LOCAL_LIBRARY
     93    HWND gw = FindWindow("Greenstone Digital Library Software",
     94             "Greenstone Digital Library Software");
     95    PostMessage(gw, WM_DESTROY, 0, 0);
     96#endif
    8797  }
    8898
Note: See TracChangeset for help on using the changeset viewer.