.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TrueView 2015 ActiveX Control

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
absStructural
5028 Views, 9 Replies

TrueView 2015 ActiveX Control

Since finding out that TrueView 2015 has a renamed dll (very beneficial because there was a dll conflict with AutoCAD), I decided to give it a whirl.

 

I have been able to embed the control in a Windows form and programmatically load a drawing successfully.

 

One annoying issue I'm finding is this:

When the window is first open, the cursor turns to crosshairs whenever the mouse moves across the TV control.  That's good.

 

If the window is minimized, then restored - the cursor no longer behaves this way.  Clicking (left or right mouse button) on the control does not change to crosshairs either.  The only way I have found to restore the crosshairs is to pan (using the middle click).  The real downside to this is that mouse wheel scrolling only functions when the crosshairs are shown.

 

Has anyone else run across this issue?

 

-- Slight rant below --

As an aside - if anyone knows of a better light weight DWG viewer, I'd love to hear it.  We've been using Volo Viewer for many years and have been mostly happy with it (particularly the speed in which it loads - and the speed in which drawings open).  Obviously there are some DWG version compatibility issues - which is why I'm looking at TV. 

 

TrueView is just... slow.  Even after TV is loaded, it takes too long to open or close a drawing.  Perhaps it has something to do with Volo being around 25MB and TrueView being north of 800MB.  Man Sad

9 REPLIES 9
Message 2 of 10
ww_grusher
in reply to: absStructural

Hey there,

 

i have a question for you.

 

your embedding trueView into your applications, can this control view and print?

 

Gary

Message 3 of 10
absStructural
in reply to: ww_grusher

Yes.

Message 4 of 10
ww_grusher
in reply to: absStructural

Do you have to purchase trueview to get the activex control?

Message 5 of 10
absStructural
in reply to: ww_grusher

No.

Message 6 of 10

After some more poking - it would appear that once the TV ActiveX control loses focus, it is not regaining focus.  This can be caused by minimizing the form, or clicking on another control.  Since my form only has one other control (a listview), I added an event listener for listview.MouseLeave - and set the focus to the TV control in that function.  Basically, if the mouse isn't on the only other control, then it must be over the TV control.

 

Unfortunately, the ActiveX control does not expose events like MouseEnter, Click, etc - so I couldn't utilize those.

 

For now this appears to be a viable work around, though something smells fishy.

Message 7 of 10
ww_grusher
in reply to: absStructural

any idea how to change the background from black to white

Message 8 of 10
absStructural
in reply to: ww_grusher

This is not the correct thread for your questions.

Message 9 of 10
kstate92
in reply to: absStructural

Well, this seems a perfect match made in Hell with their garbage Design Review control, which, after opening a tiff drawing, ignores programmatic re-focus to any other control, forcing the end user to click on the controls to do anything else.  They are aware of the issue.  They will never fix it.

 

But now, as an added benefit to this garbage control, I can no longer work with any projects that feature it, as it now instantly crashes the entire Visual Studio (Express) program just by clicking on it in the designer!  The one I need to fix the most (to correct control resizing behavior) now is dead in the water as this garbage control got highlighted just before the first crash, and is now stuck in permanent auto-crash Hell!  Naturally, Autodesk passively-aggressively blames Microsoft for this behavior.  Over three versions of their core programming environment.  Sure.

 

This crap used to work at least half-assed, but now I can't even replicate the simplistic programs I once created.  And does Autodesk care?  Nope: too busy with their head stuck in their precious 'clouds'.

KState92
Inventor Professional 2020
AutoCAD Mechanical 2022.0.1
Windows 10 Pro 64 bit - 1903
Core i7-8700 32 GB Ram
Quadro P2000
Message 10 of 10
absStructural
in reply to: kstate92

To be honest, I have up trying to use the control.  There are too many anomalies, and the performance was piss poor.  I ended up writing something that launches TrueView as a separate process.  In my case, this worked all right - but obviously not a solution for everyone.

 

In general, TrueView is relatively buggy.  If I don't close it regularly, it will eventually crash.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost