A
Andre Buck
Hi,
first at all, I'm new here. So if there are some questions which had been
posted a few times: sorry. Btw, if you got some good links about faqs or
something similar, don't hesitate to post them.
1)
I've got a for-loop, which should move a pictureBox. (See code below) The
pictureBox is moving but the old positions are still painted on the form
until it stops and the "animation" is finished. Why does the invalidate() do
not take effect until the for-loop is finished?
for (int i=0; i<50; i++)
{
this.picBox2.Left += 1;
this.picBox2.Update(); // works
this.Invalidate(); // ignored here?
}
2)
I read in this newsgroup, that drag&drop is not possible with the compact
framework. In the "normal" framework, I got a lot of events for a pictureBox
to do that. What kind of possibilities do I got in the compact framework to
pick up a bitmap (in a pictureBox) and move it with the stylus to another
position?
3)
I found an audio and player class in the openNETCF. Is that the only way to
play some *.wav files (e.g. when pushing a button)
Thanks in advance.
:: Andre
first at all, I'm new here. So if there are some questions which had been
posted a few times: sorry. Btw, if you got some good links about faqs or
something similar, don't hesitate to post them.
1)
I've got a for-loop, which should move a pictureBox. (See code below) The
pictureBox is moving but the old positions are still painted on the form
until it stops and the "animation" is finished. Why does the invalidate() do
not take effect until the for-loop is finished?
for (int i=0; i<50; i++)
{
this.picBox2.Left += 1;
this.picBox2.Update(); // works
this.Invalidate(); // ignored here?
}
2)
I read in this newsgroup, that drag&drop is not possible with the compact
framework. In the "normal" framework, I got a lot of events for a pictureBox
to do that. What kind of possibilities do I got in the compact framework to
pick up a bitmap (in a pictureBox) and move it with the stylus to another
position?
3)
I found an audio and player class in the openNETCF. Is that the only way to
play some *.wav files (e.g. when pushing a button)
Thanks in advance.
:: Andre