home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / misc / 4506 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  839 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!rutgers!micro-heart-of-gold.mit.edu!xn.ll.mit.edu!ll.mit.edu!khamsi
  2. From: khamsi@ll.mit.edu (Sarir Khamsi)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Sending message for multiple program instances
  5. Message-ID: <9212291505.PN05751@LL.MIT.EDU>
  6. Date: 29 Dec 92 20:05:05 GMT
  7. Sender: news@ll.mit.edu
  8. Distribution: comp
  9. Organization: MIT Lincoln Laboratory
  10. Lines: 18
  11.  
  12. Yo,
  13.  
  14. Does somebody have a code segment that will display a message window
  15. (with OK button) stating that the program is currently running? I am
  16. using the condition :
  17.  
  18.    if( hPrevInstance)
  19.       return FALSE;
  20.  
  21. in my WinMain() to check currently, but it tells the user nothing.
  22. Thanks in advance.
  23.  
  24. --
  25. Sarir (Riri) Khamsi - khamsi@ll.mit.edu
  26. MIT Lincoln Laboratoy
  27. 244 Wood St.
  28. Lexington, MA 02173
  29. USA
  30.