INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Fickering in a plugin  (Read 1804 times)

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Fickering in a plugin
« on: June 06, 2003, 10:23:22 am »

Matt/Nikolay,

Any chance you can change MC to not add the CS_HREDRAW and CS_VREDRAW styles to the container window of a plugin?

AV does all it's own drawing and it looks really ugly when MC paints the whole background white when resizing.


I tried:

::SetClassLong( hWnd, GCL_STYLE, ::GetClassLong( hWnd, GCL_STYLE ) & ~(CS_HREDRAW|CS_VREDRAW) );



Where hWnd is the handle of the container window ... but it doesn't remove the style, i.e. I tell windows use style 0xB and it keeps returning 0x11.
Logged

Nikolay

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1681
  • Former CTO, JRiver, Inc.
Re: Fickering in a plugin
« Reply #1 on: June 13, 2003, 06:15:50 am »

RhinoBanga,

That problem will be fixed in next build of MJ 9.1

To fix it, we set WS_CLIPSIBLINGS | WS_CLIPCHILDREN style to our window and it looks like it worked perfectly.

Thanks,
Nikolay
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Fickering in a plugin
« Reply #2 on: June 13, 2003, 09:03:25 am »

Excellent!


Thanks Nikolay.
Logged
Pages: [1]   Go Up