If I comment out the style line the program exits as it should.. Cliff
+ From: codepunk
+
+ If I comment out the style line the program exits as it should..
+ On Thu, 13 Apr 2000, Shane Miller wrote:
+ > in CreateParams you are setting
+ > STYLE := ...
+ >
+ > Does that do a handleneeded which tries to create the
+ > handle by calling CreateParams and so forth? Then it loops?
??? Can't see why.
Style is a member of the Params structure, So you are doing a WORD := WORD +
SOME_CONSTANTSThat doesn't call handleneeded.
But, Clif while creating the widget do you set the handle of the LCLcomponent (before refering to LCL component istelf) ?
If not, the Handle stays 0 and HandleNeeded tries to create the widget and so on.
Marc
