Sign in to follow this  

MoveWindow & Scintilla

This topic is 1837 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I made a splitter custom control in order to separate between widgets in my win32 based generic IDE.

The splitter modifies the widgets size using the MoveWindow() function.

 

I noticed that MoveWindow causes scintilla's scrollbars to flicker + to jump in other places within it's area (while changing the scrollbar position only).

All other splitted widgets work great.

 

Any suggestions?

 

  [attachment=13094:idever8.jpg]

Edited by Eliad Moshe

Share this post


Link to post
Share on other sites

Most of the flicker issue on windows is because of their repaint mechanism issues around blitting.

Eg. Cursor flicker due to CAPTUREBLT is the most popular one that comes to mind. (Apparently it has been addressed with new Windows OS, but I doubt it)

It's generally not good to address flickering, as it involves a tradeoff with other advanced functionalities like layered windows, etc.

Share this post


Link to post
Share on other sites
Sign in to follow this