Jump to content
Edwin Yip

Bring codeSite LiveView window to front by code?

Recommended Posts

I don't think there are any methods of CodeSite to do this simply because there is a distinct separation between the logging and the viewers (you can output to file instead of the live viewer for instance). So the only over way would be to enumerate the desktop windows and find the CodeSite Live Viewer and get windows to do this.

  • Thanks 1

Share this post


Link to post

Even that would be a bit tricky if the Live Viewer is running on a different machine.

Share this post


Link to post

Thank you all for the comments. I need to activate the LiveView window on a local PC.

The situation is when in DEBUG mode, I want to bring the error logs to my attention.

For example:

CodeSite.SendError('this error is rare to happen but you need to take a look it immediately!');
CodeSite.BringLiveViewWindowToFront;

IIRC TraceTools (which I abandoned it due to a deal-breaker issue) has such feature.

Edited by edwinyzh

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×