in reply to Window Message Handling

Yes. We need further information. Lot's more:
  1. What is the device? if you want device drivers, you might need C
  2. What is the message? you mentioned a status change, but can you give more detail about the message?
  3. What is the specified window? In particular, is it a stand-alone application or a child window of some application?
  4. Are you using Tk? ActiveState? How is this window created?
Something about this problem smells very Visual C++ to me, but I can't discern that yet . . .

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--

Replies are listed 'Best First'.
Re: (jeffa) Re: Window Message Handling
by bikeNomad (Priest) on Jun 01, 2001 at 20:06 UTC
    And it might be useful to know what operating system is being used <g>
      The device is a SmartCard reader which comes with its own drivers, it's dlls are used to access it. Calling a function from the smartcard dll allows you to setup the window messaging, you give it a window handle and when a card is either inserted or removed the dll will send a message to the window. Any window handle can be given. I'm using Tk on the latest version of Perl on Win2000. If you need more then I'll try to give more details. Thank you for your interest. Stevo_ie