 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
DanielC Guest
|
Posted: Thu Aug 14, 2003 9:44 pm Post subject: How to register win32 control to vcl form. TABSTOP |
|
|
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
|
Posted: Thu Aug 14, 2003 10:09 pm Post subject: Re: How to register win32 control to vcl form. TABSTOP |
|
|
"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 |
|
 |
|
|
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
|
|