🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Jeff Graber Mon, 02 Jul 1990 20:08
Help with PM programming
#1413
Author: Jeff Graber
Date: Mon, 02 Jul 1990 20:08
31 lines
1562 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads