Hello Guest it is March 29, 2024, 03:25:44 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TomHubin

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
41

If you used MFC dialogs then tooltips are pretty easy, let me know and I will look up the correct references.  I am using HTML help from Microsoft for my online help files.  It is a free download.

-James


Hello James,

Now that I know what they are called, I poked around the web, looking for guidance on making tooltips. What I found looked kind of cryptic to me. Please point me to a method for making tooltips.

Also, please point me to the free Microsoft download for making help files.

Tom Hubin
thubin@earthlink.net

42
Hello,

I am pretty much done with the 3d video probe plugin. Doing some testing before I post it.

I also need to do some documentation. At the very least I would like to have each edit and button control give the user a clue as to the control's purpose. I don't see anything in the resource editor that does this. How can I add a popup comment to each control?

I would also like to do a Help file. Please point me to info on how that is done?

Tom Hubin
thubin@earthlink.net

43
Mach SDK plugin questions and answers. / Re: File Zipping
« on: March 19, 2009, 05:04:53 AM »
In windows just right click on the folder your using, and look at the Send To, and you will see "Compressed", it is windows built in zip utility, works good.
and everyone running windows XP/Vista can decompress.

scott

Hello Scott and Brett,

I looked at a Windows XP machine and was able to find the SEND-TO/Zip File options. However, I am using a Windows 2000 machine and do not see Compression as one of the Send-To options.

I poked around Help topics on my machine but did not find any good info about using compression, except for more compact storage on my hard drive.

Is that compression option something that I can download and install to Windows 2000?

Tom Hubin
thubin@earthlink.net

44
Mach SDK plugin questions and answers. / File Zipping
« on: March 17, 2009, 04:56:18 PM »
My 3d video plugin is coming right along. I hope to post the plugin soon for trial.

Years ago I bought the shareware PKZIP and it saw a lot of use in the 1990s. Since it is limited to 8 letter file names it is of limited use with Windows long file names.

What free or inexpensive software is currently available for zipping files and folders?

Tom Hubin
thubin@earthlink.net

45
Video P*r*o*b*i*n*g / Point Cloud File Formats
« on: February 24, 2009, 04:59:01 PM »
Hello,

I am developing 3d video probing plugin software. I need to choose an output file type for the resulting point cloud.

MachCloud uses a .txt file. I like the fact that the data is in plain text so that anybody can read it or use it.  However, I would prefer to save my point cloud data to a file type that identifies the file as a pointcloud. Plain text if possible. Binary if necessary.

Maybe both text and binary and let the user choose?

Any suggestions for file types for a list of 3d points?

Tom Hubin
thubin@earthlink.net

46
Hello James,

I have made a lot of progress on my 3d video plugin.

In your tutorial you use myConfig() to start the plugin. However, the two video plugins from Mach3 downloads add menu items under the plugins menu. Will you be adding details to your tutorial on how that is done?

Tom Hubin
thubin@earthlink.net

47
Hello,

I have SetTimer() working ok for 100ms webcam display refresh. Works just fine. Not using myUpdate() for anything now.

So, on to the next hitch.

I would like to save the data that the user has entered in the various places on the dialog box. I used UpdateData() to get it all into double and integer variables.

I see that others have used some Read and WriteProfileString and WriteProfileInt functions. These seem to be defined in XMLProfile.cpp. Is this the recommended way to save and retrieve data?

I do not see a function for saving floating point numbers. Is it necessary to convert to a string then save the string?

Tom Hubin

48
Hello James,

Art pointed me in the right direction.

I am using your tutorial and modifying it to experiment. I was using myUpdate() to refresh the video display. That was perfect until it stopped working a couple of days ago. As it turns out, I accidentally turned off the plugin on the config menu. I never suspected that since I use config to start the dialog box.

> Are you using DbgMsg from my tutorial? 

Yes. I am using most of your tutorial as a starting point.

> myHighSpeedUpdate is NEVER called by Mach3 it is a timer, but if you are using it there is a
> watchdog in the code that will disable it if myUpdate stops (meaning your plugin thread has crashed).

Thanx, good to know.

> ANYTHING you do in myUpdate needs to be VERY fast and you must return control to Mach3
> ASAP or you will crash.

Good point. Now that I have it working again I will change to a SetTimer() to avoid trouble.

> Here is a good article on time and timers and why they will never be very precise.

Thanx. Good reading.

This is not for precision. I just need to refresh the video display several times a second. 10Hz worked well enough that I will start with a 100ms timer. No big deal if the timer callback is late.

However, I would still like to know how to include a timer in a modeless dialog box. I see how others have done it but when I try to edit my source code the compiler complains. So I expect there is a resource editor protocol for doing this. Searching codeproject and google and the compiler's help have not shown me the way.

Is there a standard way to do this or should I just edit the source code?

Tom Hubin

49
Hello,

With all the help from this group I have made a lot of progress. But I am stuck in a few details.

I was updating the video with the 10 Hz entry of myUpdate(). I do not know why but that no longer works. It appears that myUpdate() and myHighSpeedUpdate() are not being called. I have had several crashes so may have trashed some part of Mach3. I uninstalled Mach3 and reinstalled it. No help there.

First, I need some tips on what might fix this.

Second, I need to know how to add a 100ms timer to a dialog box.

Tom Hubin
thubin@earthlink.net
 

50
Hello,

I am not accustomed to working with a resource editor. It seems convenient for paste up but I don't how to get window handles for the controls so I can modify them. I have a unique ID for each control but have not found a function that will return the window handle unless I provide the parent window's handle too. And, of course, I don't have that handle either.

So, how do I get a handle on this catch 22?

Tom Hubin
thubin@earthlink.net


Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »