Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Jan 12, 2000



Application Security Testing: An Integral Part of DevOps

Using ShowHelp with Windows 95 and NT

When we call the ShowHelp function in Windows 95, it works with a topic ID but not with a keyword. However, the same source works just the opposite in NT: a topic ID does not work, but a keyword does. We have both environments and need a solution that will work in both situations. Can you help us?

I would recommend using the Windows API in place of the PowerBuilder functions. The API is more reliable and has features not supported by PowerBuilder, such as contents pages.

The API call is defined as:

function long WinHelpA(ulong hwind, string lpszHelp, &
   uint uCommand, ulong dwData) library "user32" 
You will also need the following constants:
integer HELP_CONTEXT = 1
integer HELP_CONTENTS = 3
integer HELP_FINDER = 11
Then call the function, such as:

WinHelp( 0, , HELP_FINDER, 0 )

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date