Tony,
While better, this still doesn't give me the results I'm looking for. There
is still a delay (on my computer upwards of maybe 5 seconds) before the
screen refreshes. I also tried it with a sendmessage instead of a post
message. I figured, what the heck, I don't mind waiting for the display to
be updated.
I'm hoping to simulate the same thing as the text edit refresh type of
options. On my computer, the text refreshes as soon as I step off of the
properties line for "Text"
Thanks for the help.
Nick
"Tony Tanzillo"
wrote in message
news:D7DC2F7B786D245D3836B854EF5C99DE@in.WebX.maYIadrTaRb...
> Try doing this before calling acedUpdateDisplay():
>
> CView* pView = acedGetAcadDwgView();
> pView->PostMessage(WM_SETFOCUS, (WPARAM) GetActiveWindow(), 0);
> pView->SetForegroundWindow();
>
>
> "Nick Jacobs" wrote in message
> news:F33F8D5486F9575096C776F6100D77D5@in.WebX.maYIadrTaRb...
> > Unforunately, it still works the same. I actually have to click on the
> > drawng background for the update to take effect.
> >
> > Thanks for the help Art,
> > Nick
> >
> >
> > "Art Cooney" wrote in message
> > news:D0AA8E2EF416E4CA43D94CDA86EB5279@in.WebX.maYIadrTaRb...
> > > Try acedUpdateDisplay().
> > >
> > > "Nick Jacobs" wrote in message
> > > news:B82C7EE6BC1B6E7188F8E23D68EE1ABC@in.WebX.maYIadrTaRb...
> > > > Hi Gang,
> > > > Here's what I've got. I've got a modeless dialog box (actually a
> > > properties
> > > > window) that updates values within blocks of AutoCAD. It works
fine.
> I
> > > can
> > > > type in the value and the screen shows the new value (after I
> highlight
> > > the
> > > > screen). That last part is actually the catch. The attribute
doesn't
> > > > refresh until I actually click on the document space. Everything
has
> > been
> > > > changed, just no refresh.
> > > >
> > > > Am I missing something obvious?
> > > >
> > > > Thanks,
> > > > Nick
> > > >
> > > > Environment: XP,VC6/sp5, ObjectARX 2002 but I'm writing for 2000i.
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>