Board index » delphi » HELP: I can't get the SetParent API function to compile
lann...@ils.nwu.edu (Eric J. Lannert)
![]() Delphi Developer |
Fri, 16 Jan 1998 03:00:00 GMT
HELP: I can't get the SetParent API function to compile
I am new to programming in Delphi, so please excuse me if this is
a dumb error. I can't get the SetParent function to compile, it gives me a type mismatch on the handle property of a form. However, if I use the ShowWindow function, the handle property IS accepted as a HWnd. What gives? Try the following code. I have used setParent in Visual Basic with no problems. var implementation { DLL declarations } {$R *.DFM} procedure Tftest2.FormCreate(Sender: TObject); This won't compile, but the showWindow would. Any ideas are welcome. Thanks, Eric J. Lannert |