<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Ok, I think I'm on to something.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I believe the DLL windows use the same window
styles as defined in the parent window. The Parent in this case is a
window handle that my app creates with </FONT><FONT face=Arial
size=2>AllocateHWnd which does not have any styles as such. I think this
is the problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there a way to apply a style such as WM_TABSTOP
to a window created with AllocateHWnd? Or would I need to use CreateWindow
and never make the window visible?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The reason for using AllocateHWnd is because it is
a separate component which loads the DLL's and it does not have a window itself,
so this window is created to handle some WM_USER messages that need to be
processed.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ross.</FONT></DIV></BODY></HTML>