Dan Laba writes:
> The problem? I can see sometimes in Poser (for a short time) garbage
> before the real data appear in form. Something is wrong with my
> application?
Here's a little function I find quite handy when I'm trying to debug
strange display problems where I can't use printf:
void Beep (Long freq, UInt dur) {
SndCommandType c;
c.cmd = sndCmdFreqDurationAmp;
c.param1 = freq;
c.param2 = dur;
c.param3 = sndMaxAmp-1;
SndDoCmd(NULL, &c, false);
}
If you add something like `Beep(1440, 500)' to the SetFieldTextFromHandle
function in your program, it'll become obvious that the problem is that
this function is being called too often, and during a form change for
some reason.
So I think this is your problem (or just that calling this means you do
a FldDrawField before the FrmDrawForm?).
> Wait, don't click delete, it is a 8kb zip file (very, very small) and
> you could also look at pictures from my briefcase. They was taken near
> London, UK, nice castles.
Mmmm... nice. For a while, I lived in Shepherd's Bush just down the
road from Holland Park... :-)
John