Hi Darren

I read that message which was interesting but I don't think is relevant 
in this case as these are 3rd party C++ DLL's which cannot be altered.

The DLL's require an OwnerHandle to be assigned to a variable.  It most 
likely uses this handle for the same reasons as outlined in the archived 
message.

The DLL form appears in the taskbar with the same icon as my app.  Not 
sure if that provides any clues.

The OwnerHandle I provide is a window handle I create using AllocateHWnd 
and a procedure for handling messages.  The only messages I bother with 
are WM_USER messages being sent from the DLL and requiring a returned 
value from my app.  All other messages are handled using DefWindowProc 
which I understand sends them along to Windows to handle.  The only 
other message I've seen being sent to the OwnerHandle is WM_ACTIVATEAPP 
which occurs when clicking on the DLL form to give it the focus.

So this seems to be fine but yet the tab/shift tab keys are not working. 
I just get a beep sound when I try them.  Left and right arrow keys are 
working, buttons click, etc, so I don't understand what is going on.

Just to fill you in a bit, these DLL's are Winamp DSP plugins.  When the 
same DLL's are loaded by Winamp, the tab key works within the DLL form. 
It will be a real shame if I can't get this working.  Blind users will 
suffer for it, and I have several blind users due to the high 
accessibility of my app.  It must be possible if the DLL forms work fine 
when loaded with Winamp.

I hope someone can provide some clues.

Thanks,
Ross.

----- Original Message ----- 
From: "Darren Ferguson" <[EMAIL PROTECTED]>
To: "Borland's Delphi Discussion List" <[email protected]>
Sent: Tuesday, August 01, 2006 11:38 AM
Subject: RE: DLL Forms


Hi Ross,

No hard and fast answer, but search the archives at www.tamaracka.com
for a message by Jacques Venter with the subject "Re: Modeless Forms in
DLLs", posted on 1 June 2004 to
borland.public.delphi.language.delphi.win32. It may not fix the problem,
but it may point you in the right direction as to what is going on.

Regards,
Darren
--
Darren Ferguson
Senior Software Engineer
Clinical Software Division
Medtel Australia
Adelaide, South Australia

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ross Levis
Sent: Monday, 31 July 2006 11:56 AM
To: [email protected]
Subject: DLL Forms

I'm loading some 3rd party C++ DLL's from my Delphi app.  Most of these
DLL's have a configuration form.

Some blind users have pointed out that the tab and shift+tab key is not
working in the DLL forms.  The default beep sounds when using the tab
key.

This is a major problem for blind users who rely on it for navigation.
All other keys including the arrow keys appear to work fine.

Other applications that load the same DLL's do not have this problem!

I'm assuming my app is taking over the tab key even when the DLL form
has the focus.  What can I do to fix this?

Many thanks,
Ross. 

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to