Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Components Misc > Re: Problem wit...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 213 of 251
Post > Topic >>

Re: Problem with OCX Focus

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
 




 2 Posts in Topic:
Problem with OCX Focus
latao@[EMAIL PROTECTED]   2005-10-10 02:06:12 
Re: Problem with OCX Focus
Jamie <jamie_5_not_val  2005-10-10 11:37:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:54:18 CDT 2008.