Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Apr : WM_SYNCPAINT

www.cryer.info
Managed Newsgroup Archive

WM_SYNCPAINT

Subject:WM_SYNCPAINT
Posted by:"Troy Carpenter" (tcarpent..@tactechs.com)
Date:4 Apr 2005 16:38:58

Windows XP sp 2

Seems in a Delphi app, if you have a modal dialog up (ok, not really a
dialog, a form that is in ShowModal), and the app gets a WM_SYNCPAINT
message, the main form gets brought to the front over the modal form
(big bad no-no).
Has anyone experienced this and if so, found a preventative solution?

Thanks in advance,
Troy

Replies:

www.cryer.info
Managed Newsgroup Archive