Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is is possible to place vcl components (TButton, TMemo, TLabel, TImage) on the window that was created with WinAPI function CreateWindowEx()?
Actually the problem in the next:
//
C++
HWND MyWnd = CreateWindowEx(...
//
//and now we try to create vcl - component on the newly created window:
TLabel *lbl = new TLabel(MyWnd);
//and here it is need to point to the parent - TWinControl.
lbl->Parent = ????????

But I do not have TWinControl.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900