by Jamie <jamie_5_not_valid_after_5_Please@[EMAIL PROTECTED]
>
Oct 10, 2005 at 11:37 AM
latao@[EMAIL PROTECTED]
wrote:
> Hello
> I created an OCX-Control containing of several TEdit-Fields.
>
> My Problem: Since Windows treats the entire OCX-Control as a whole, I
> can not move focus inside the control's ediot boxes, instead the
> control loses focus as it is moved to the next control of the client
> application.
>
> Is there any possibility to keep the tab-focus and manage it
> internally, until the last edit-box of my OCX has been reached ?
>
> Greets
> Roger
>
you may need to set a windows hook to monitor the
messages in your ocx.
look at the SetWindowsHookEx in the win32 help.
actually, it almost sounds like you could handle
that in your ocx form , simply capture the message
there and process it.
--
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5