Hi all,

Another thing that seems broken in my app is the export to MemoPad. What I 
do is:

FieldType       fld;

MemSet(&fld, sizeof(fld), 0);
fld.attr.singleLine = fTrue;
fld.attr.editable = fTrue;
fld.maxChars = 4000;

hText = MemHandleNew(255);
psz = MemHandleLock(hText);
MemSet(psz, 255, 0);
MemHandleUnlock(hText);
FldSetText(&fld, hText, 0, 255);

FldInsert(&fld, "Stuff", 5);

Somehow this doesnt seem to work anymore, I get the error "Invalid 
insertion point position". Also when I set the fields in the Field 
structure the wrong fields get set. Any ideas?

Chris


---
Christian Vandendorpe ([EMAIL PROTECTED])
http://www.zorglub.com

Reply via email to