Forms widget updating

  • Thread starter Thread starter PT
  • Start date Start date
P

PT

Hi, I have created a basic form that contains a menu and tab control and a
widget that a directx is rendered too, if I remove the directx rendering all
is well, but when it's rendering non of the other widgets on the form will
update, so if you click on a menu it's not redrawn, almost like ondraw or
something is not being called for all the normal gui items on the form no
matter they are, buttons, menus etc.. any ideas why this might be ? does
using managed dx basically steall all updating from other items on a form or
is there something simple to consider when using mdx ?

Regards.

Paul
 
Hi,

PT said:
Hi, I have created a basic form that contains a menu and tab control and a
widget that a directx is rendered too, if I remove the directx rendering
all is well, but when it's rendering non of the other widgets on the form
will update, so if you click on a menu it's not redrawn, almost like
ondraw or something is not being called for all the normal gui items on
the form no matter they are, buttons, menus etc.. any ideas why this might
be ? does using managed dx basically steall all updating from other items
on a form or is there something simple to consider when using mdx ?

Probably it's running the rendering in the UI thread in real time, therefore
the messagequeue is not being processed.

No idea how to solve it though, I have never used directx

maybe a post in one of the directx NG may help you.
 
OK, thanks for the heads up..

-Paul

Ignacio Machin ( .NET/ C# MVP ) said:
Hi,



Probably it's running the rendering in the UI thread in real time,
therefore the messagequeue is not being processed.

No idea how to solve it though, I have never used directx

maybe a post in one of the directx NG may help you.
 
Back
Top