01-29-2004 02:07 AM
01-29-2004
07:04 AM
- last edited on
12-12-2024
11:28 AM
by
Content Cleaner
Very cool!
It looks like you are using the same functions that LV uses to refresh the screen. Thos functions only let you update within the window you specify. This is why your updates stop at teh edge of the window.
Normally LV will watch the scroll bar position and re-paint the screen to reflect an scroll bar postion changes. Since you are by-passing LV, you can not rely on LV to refresh your screen when the scroll bars move.
At this point I can offer two suggestions.
1) Continue with the approach you started and start adding all of the code required to watch the scroll bars and re-paint as indicated.
or
2) Look into the LV Picture control. Based on what you have done using dll calls I would guess that you could probably figure how to do the
same thing using a picture control. The Picture (being a LV native object) is fully supported by LV so the scrolling work is already done and working. The picture control will let you draw lines, insert text, etc. Take a look at the "Robot Arm" example. It should get you started.
Finally, the Picture control is pure "G" so it should be platform independent.
Otherwise let me commend you on your example. You say no one else where you are can do what you have done. After looking at your example, I am not suprised. There are few people in the world that can do what you have done.
Great work!
Ben
Ben Rayner
Certified LabVIEW Developer
www.DSAutomation.com
01-29-2004 09:27 AM
01-29-2004 10:11 AM
01-30-2004 03:26 PM