471,627 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

Forms widget updating

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
Feb 10 '06 #1
2 1126
Hi,

"PT" <pa***@REMOVETHISPLEASEs-digital.com> wrote in message
news:uN**************@TK2MSFTNGP12.phx.gbl...
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.

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Feb 10 '06 #2
PT
OK, thanks for the heads up..

-Paul

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:Oq**************@TK2MSFTNGP10.phx.gbl...
Hi,

"PT" <pa***@REMOVETHISPLEASEs-digital.com> wrote in message
news:uN**************@TK2MSFTNGP12.phx.gbl...
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.

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

Feb 10 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Tonino | last post: by
6 posts views Thread by William Gill | last post: by
25 posts views Thread by koray | last post: by
reply views Thread by George Sakkis | last post: by
1 post views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.