Appendix

Registry/ini-file keys

DrawTimingDiagram has no sophisticated configuration menu, not even a simple one. Please edit the registry or the ini-file instead. It is simple. The following registry or ini-file keys are used:


[Window]

PosX=62

PosY=63

Width=474

Height=205

The Window settings define the location and the size of the dialog upon startup.


[Program]

Version=101

The Program settings store certain program related data. In this case, it is just the version of the program, which wrote the registry.


[TimingDiagram]

Font=Courier New

FontSize=16

FontWeight=700

TextLimit=32768

These settings mainly define the used font for the I/O windows, its size and weight. The default font is Courier New, which should be available on any Windows PC. As mentioned in the previous section, FiraCode is a nice alternative. Just install it on your machine and enter its name here. FontSize is the logical height of the font, not its point size. FontWeight specifies the weight of the font in the range 0 through 1000. For example, 400 is normal and 700 is bold. If this value is zero, a default weight is used.

Using an ini file or the registry?

DrawTimingDiagram permits to use the windows registry or a dedicated ini-file to store configuration data. Which one shall be used?

Well, it's pretty much a matter of personal taste. Microsoft discourages the use of ini files, but quite a few people, including myself, prefer them over using the registry. The big advantages of an ini file are portability, the possibility to make backups and the possibility to use different configurations for different purposes. For backing up or porting DrawTimingDiagram and its configuration to a different computer, just copy the executable and the ini-file and you are done. Maybe some pathnames must be adapted, but that can be done easily with any text editor, as the ini file is a normal text file. Using an ini file may not be much of an advantage for a simple program like DrawTimingDiagram, but for a more complex program, it can save your day.

But again, it depends on your personal taste, which one you use.

History

V1.01

  • The first released version.

Development environment

I currently use Microsoft Visual Studio 2019. It is very sophisticated and free of charge. As a resource editor, I use ResEdit (http://www.resedit.net/) and my preferred text editor for the source code is UltraEdit.

This document was generated with the free version of HelpNDoc V7.8.0 (http://www.helpndoc.com/). I still have an earlier licensed version, but it does not support the latest features.

Contacting the author

You may contact me by email at michael@dk8pp.de. Feel free to write an email if you find any problems or to suggest improvements.




Created with the Personal Edition of HelpNDoc: Free help authoring environment