DtvLong dal_hlp_set_tip (par)

Opens the "Tip of the Day" window and sets the corresponding text file.

Input Parameter Significance
char *par Name of the"Tip of the Day" text file

Output Parameter Significance
none -

Return Code Significance
0 All OK

Can be called as On_Select userexit at any menu item/button or as On_Event userexit in any state of the user interface.

The window displays tip texts from a text filed to be passed as parameter. The text filed must be contained in the bin-directory of the DataView client and can contain any number of tip texts. They are to be separated by new-line characters. Each call of dal_hlp_set_tip increments the tip counter and loads the subsequent tip text into the "Tip of the Day" window. The current (last called) text file and the current tip counter are registered by Windows.

The DataView-internal tip text file is tips.txt in the bin-directory of the DataView client.