windows-controls

Rich Edit control: Prevent immediate repainting/updating?

I'm trying to replace some text in a range in a rich edit control. The two line way to do it is by sending a EM_EXSETSEL followed by a EM_REPLACESEL. However, this causes an annoying flickering when the text is briefly selected, before being replaced. Is there any way to suspend repainting? I'm hoping for something like this: SendMessag...

Synchronized Scrolling Components Delphi

I am trying to synchronize the scrolling of two TDBGrid components in a VCL Forms application, I am having difficulties intercepting the WndProc of each grid component without some stack issues. I have tried sending WM_VSCROLL messages under scrolling events but this still results in the incorrect operation. It needs to work for clicking...