BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to register win32 control to vcl form. TABSTOP

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
DanielC
Guest





PostPosted: Thu Aug 14, 2003 9:44 pm    Post subject: How to register win32 control to vcl form. TABSTOP Reply with quote



Hi,
I put a win32 Edit Control on a form but the TabStop doesn't work.
I'm guessing that the control is not in the form's TabStop list.
How do I do this ?
Can I ?

Thanks

Dan

__fastcall TMainForm::TMainForm(TComponent* Owner)
: TForm(Owner)
{
m_hWnd = CreateWindow( "EDIT", "Bob",
WS_CHILD | WS_TABSTOP | WS_VISIBLE | ES_LEFT | WS_CLIPSIBLINGS,
0, 350, 180, 22,
Handle, (HMENU)400, GetModuleHandle(NULL), NULL );
}




Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Aug 14, 2003 10:09 pm    Post subject: Re: How to register win32 control to vcl form. TABSTOP Reply with quote




"DanielC" <danielc (AT) croesus (DOT) com> wrote


Quote:
I put a win32 Edit Control on a form but the TabStop doesn't work.

This question is not a writing issue. This group is for discussions about
authoring new VCL components. You are asking how to use an exising API
control with a normal form, so you should ask your question in the
..nativeapi group instead.

Quote:
I'm guessing that the control is not in the form's TabStop list.

A VCL form's TabStop list only works with actual VCL components, not raw API
controls.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.