The Window_GetTitleByProduct() function returns the title of a window in a specified form in a specified dictionary. If the window title has been modified using the Modifier, the revised window title is not returned.
Window_GetTitleByProduct(prod_ID, form_name, window_name)
• prod_ID – An integer specifying the product ID of the dictionary containing the window for which you wish to retrieve the title.
• form_name – A string containing the name of the form containing the window for which you wish to retrieve the title.
• window_name – The string containing the name of the window whose title you want to retrieve.
If you are in tools mode, or have yet to add product information to your dictionary, the product ID for your dictionary will be zero. The product ID for Dynamics.dic is always zero.