DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Irritating flicker

 
Post new topic   Reply to topic    DPlot Forum Index -> Basic
View previous topic :: View next topic  
Author Message
Jens Andenaes



Joined: 29 Apr 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 9:20 am    Post subject: Irritating flicker Reply with quote

Hi,

I am trying to plot several dynamic plots on a dialog window using DPlotJr. I am modifying the the code in example BTEST2 for the application wich is being written in VB6. However, every time the plot is updated the Windows bar makes an irritating flicker. Is there a way to eliminate this flicker?
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Fri Apr 29, 2005 2:12 pm    Post subject: Reply with quote

Not at your end, but thanks for the reminder. This will require a change in dplot.exe. I'll try to have this fixed in the next update, hopefully by the end of the weekend.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jens Andenaes



Joined: 29 Apr 2005
Posts: 19

PostPosted: Sat Apr 30, 2005 1:55 am    Post subject: Reply with quote

Hi David,
Thanks for the quick response, it would be really great if you can make an update that quick.

Jens
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Sat Apr 30, 2005 2:00 am    Post subject: Reply with quote

Jens,
There are 2 ways to get around this problem before the next release:

1. Instead of DPlot_Plot followed by DPlot_GetBitmap, use DPlot_PlotBitmap. If you don't need the extra scaling information returned by DPlot_GetBitmapEx, this is preferable to:

2. The first command in the command string sent to DPlot_Plot should be the undocumented [DPLOTLIB_HIDE]. This is case-specific and it must be the first command string, as in

cmds = "[DPLOTLIB_HIDE]"
cmds = cmds & "[ManualScale(0,-1.25,4,1.25)]"

Either of the above should work with all versions of DPlot. With the next release this won't be necessary: if DPlot is hidden you won't get the change in focus that results in the annoying flashing of your caption.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jens Andenaes



Joined: 29 Apr 2005
Posts: 19

PostPosted: Sat Apr 30, 2005 4:02 am    Post subject: Reply with quote

David,

Wow! I tried the HIDE instruction and it worked straight away. Thanks for an incredible and unsurpassed level of support.

Cheers
Jens
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Sun May 01, 2005 11:45 pm    Post subject: Reply with quote

Jens,
This is fixed in the 1.9.9.5 update. You don't need the [DPLOTLIB_HIDE] command, and you can also delete any calls to BringWindowToTop you might be using. Thanks again for calling attention to the problem.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jens Andenaes



Joined: 29 Apr 2005
Posts: 19

PostPosted: Mon May 02, 2005 2:59 am    Post subject: Reply with quote

David,
Thanks for your quick support. I'll download the update and try it out.

Jens
Back to top
View user's profile Send private message
adamp



Joined: 16 May 2006
Posts: 2

PostPosted: Tue May 16, 2006 5:36 pm    Post subject: Reply with quote

David,

It's strange but I have the same problem with flickering windows toolbar. Please note, that I work with newest versions of dplotlib and DPlotJr. Is seems that such flickering is "strongly" present in Windows 2000 (I'm testing my application with with OS).
Back to top
View user's profile Send private message Send e-mail
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue May 16, 2006 9:28 pm    Post subject: Reply with quote

Sorry for the trouble; I'll take a closer look as soon as possible.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Basic All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group