home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4457 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: X/Motif to PM Questions
  5. Keywords: motif xwindows pm
  6. Message-ID: <1992Aug26.203548.18482@njitgw.njit.edu>
  7. Date: 26 Aug 92 20:35:48 GMT
  8. References: <103@slpfs1.UUCP>
  9. Sender: news@njit.edu
  10. Organization: New Jersey Institute of Technology, Newark, N.J.
  11. Lines: 21
  12. Nntp-Posting-Host: hertz.njit.edu
  13.  
  14. In article <103@slpfs1.UUCP> jct@slpfs1.UUCP (Jeff Tolmie) writes:
  15. >
  16. >
  17. >In my previous article I wrote:-
  18. >>     Event-Callback-xxx(...) { ...         WndClientProc(...) { ...
  19. >> 
  20. >>  file. The two windows each have ONE event handler. The default for the
  21. >>  drawing area is usually called WndClientProc. Now, you have to write a 
  22. >
  23. >Before anyone else says it, that should be ClientWndProc.
  24.  
  25. The procedure could be anything.  It's just another function (declared
  26. with the EXPENTRY qualifier) and can have any name.  It is passed to
  27. the WinRegisterClass function when declaring the class to OS/2.
  28.  
  29. I normally call it MessageHandler().
  30. -- 
  31.    |)  David Charlap           "I don't even represent myself
  32.   /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
  33.  ((|,)
  34.   ~|~  Hi! I am a .signature virus, copy me into your .signature file.
  35.