Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Writing to MLE's

0 views
Skip to first unread message

Brandt Everett

unread,
May 17, 1996, 3:00:00 AM5/17/96
to

Don't know if this got posted twice or just got lost.

Im looking for way to display a file (variable size) into a MLE. I am
currently doing it Character-by-Character and my eyes are going buggy.

Is there a way to place it to a MLE that is easier?

E-mails would be great. ANy help would be kool...thanks.

--
Brandt Everett AKA Branic
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[TeamOS/2] | Windows is to OS/2 as
ever...@televar.com | Etch-A-Scetch is to Art.
FIDONet: Brandt Everett @1:3407/18 | OS/2: What Windows will NEVER BE!
---------------------------------------------------------------------------
Sierra Hotel -- Beyond G-LOC (509.882.1417) Home of Late Nite Creations.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

dab...@ibm.net

unread,
May 17, 1996, 3:00:00 AM5/17/96
to

In <DrJG6...@eskimo.com>, bra...@eskimo.com (Brandt Everett) writes:
>Don't know if this got posted twice or just got lost.
>
>Im looking for way to display a file (variable size) into a MLE. I am
>currently doing it Character-by-Character and my eyes are going buggy.
>
>Is there a way to place it to a MLE that is easier?
>
>E-mails would be great. ANy help would be kool...thanks.
>

// First, set the import/export buffer for the MLE to your data
WinSendDlgItemMsg (handle,CSET_ITM_NOTE,MLM_SETIMPORTEXPORT,
(MPARAM)&mydata,(MPARAM)MaxBufferLength);

BeginLocation=0; // Where in MLE to start
WinSendDlgItemMsg (handle,CSET_ITM_NOTE,MLM_IMPORT,
(MPARAM)&BeginLocation,(MPARAM)ActualDataLength);


D.A.Braun
____________________________________
David A. Braun - dab...@ibm.net
Meridian Software


Rich Walsh

unread,
May 18, 1996, 3:00:00 AM5/18/96
to

In <4nis3p$14...@news-s01.ny.us.ibm.net>, dab...@ibm.net writes:
>In <DrJG6...@eskimo.com>, bra...@eskimo.com (Brandt Everett) writes:
>>
>>Im looking for way to display a file (variable size) into a MLE. I am
>>currently doing it Character-by-Character and my eyes are going buggy.
>>
>>Is there a way to place it to a MLE that is easier?
>>
>// First, set the import/export buffer for the MLE to your data
>WinSendDlgItemMsg (handle,CSET_ITM_NOTE,MLM_SETIMPORTEXPORT,
> (MPARAM)&mydata,(MPARAM)MaxBufferLength);
>
>BeginLocation=0; // Where in MLE to start
>WinSendDlgItemMsg (handle,CSET_ITM_NOTE,MLM_IMPORT,
> (MPARAM)&BeginLocation,(MPARAM)ActualDataLength);
>
To actually use the MaxBufferLength of 64k-1, mydata has to be aligned
on a tiled 16-bit segment boundary (????:0000). Allocate mydata using
DosAllocMem() with the OBJ_TILE flag.

//-----------------------------------------------------------------
| DragText: retrofit OS/2 with Drag and Drop Text
Rich Walsh | Now create and read Files & WebEx_Urls with v1.2
Cape Coral, FL | drgtxt12.zip is at cdrom, leo, compuserve, etc.
| or http://www.usacomputers.net/personal/rlwalsh/
//-----------------------------------------------------------------


0 new messages