Also. There is a bug in the Code Generator in D6 (prob in all the rest) that prevents
memo fields etc in
an active form from receiving key events. you have to manually modify the _TLB.pas
file
TMtEchoTestForm = class(TOleControl)
protected
procedure CNKeyDown(var Message: TWMKeyDown); message CN_KEYDOWN; //add this
procedure
procedure TMtEchoTestForm.CNKeyDown(var Message: TWMKeyDown);
begin
end;
-----Original Message-----
From: Conor Boyd [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 1 April 2003 11:03 a.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Kick in the right direction
Don't know anything about the VB side, but the Delphi side should be
relatively simple.
Kyley has pointed you in the right direction.
One pitfall to be aware of is that you might have stay on top problems, i.e.
your client app may try to show the form, but your form will come up behind
the client app. If this does happen, you can generally pass the HWnd of the
client window, and set it as the parent of your DLL form.
More specific questions, drop us a line, and I'm sure we can help.
Cheers,
Conor
-----Original Message-----
From: Neven MacEwan [mailto:[EMAIL PROTECTED]
A need to create a simple COM based Form application that can be called from
VB Script using CreateObject()
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/