Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!usc!samsung!think!linus!lid.mitre.org!jeff From: jeff@lid.mitre.org (Jeff Graber) Newsgroups: comp.os.os2.programmer Subject: Help with PM programming Message-ID: <112283@linus.mitre.org> Date: 2 Jul 90 20:08:21 GMT Sender: usenet@linus.mitre.org Reply-To: jeff@lid.mitre.org.UUCP (Jeff Graber) Distribution: all Organization: The MITRE Corporation Media Laboratory Lines: 31 Hi There I am honored to be the first to post a message to this new newsgroup. The fact that nobody else has since it's creation makes me worried any one will read this but Here Goes ... I have been programming with PM and Microsoft C for the past few weeks. I have a window with a dialog box. This box has about 12 entry field controls and same number of static text controls. I want to be able to click on an entry field and have the contents of the clipboard be copied into the same entry field that has just been clicked on. I thought this would be easy. After all there is WinSendDlgItem with EM_PASTE message. as in: case EntryFieldNumber: WinSendDlgItem(EntryFieldNumber, EM_PASTE, NULL,NULL); break; However this always writes the contents of the clipboard twice to the same entry field and then clears the clipboard. I have tried all sorts of ways to get around this nothing is working right or sensibly. D Does anyone out there have an answer or a friend at Microsoft with the answer?? Any help or reply would be appreciated. Thanks a lot JeffGraber