Not so long ago - if i remember correctly it was reproducible on NT4 & W2K SP1 and some 9x version (98? ME?) of the person who reported the problem. and at that point I removed the LockWindowUpdate stuff and solved the problem some other way.
It's possible there was something more complicated going on (this thing involved a TPageControl descendant and the other case was a TDBCtrlGrid descendant.) < just read Guy's post about the error return > I'll see if I can dig up the code and have another look at it. Maybe it was a case of this error Guy mentioned. -ns http://www.roserox.co.th ----- Original Message ----- From: "Myles Penlington" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Friday, 16 August 2002 10:55 Subject: RE: [DUG]: LockWindowUpdate > Or how many M$ service packs ago did you have the problem and on which > platform? > > -----Original Message----- > From: Nello Sestini [mailto:[EMAIL PROTECTED]] > Sent: Friday, 16 August 2002 3:53 p.m. > To: Multiple recipients of list delphi > Subject: Re: [DUG]: LockWindowUpdate > > > I could be remembering this wrong - but ISTR that even passing > a handle to a particular window cause side effects elsewhere. > > I'm sure I wasn't locking the desktop > > (well ... pretty sure <g> ) > > > > -ns > http://www.roserox.co.th > > ----- Original Message ----- > From: "Myles Penlington" <[EMAIL PROTECTED]> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > Sent: Friday, 16 August 2002 10:38 > Subject: RE: [DUG]: LockWindowUpdate > > > > Yep, If you pass it handle 0, then it locks the desktop, so everything > gets > > locked ... > > Myles. > > > > > > > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/