Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mapping a keystroke to an ADIS function. 1

Status
Not open for further replies.

webrabbit

MIS
Jan 31, 2003
1,059
US
How do you change the keystroke_to_ADIS-Fucntion? Specifically I want to map Ctrl-M to function 27.

Windows XP -- Micro Focus COBOL Version 3.2.46
 
This is not helpful. It only shows how to run ADISCF, which I already know. ADISCF only allows me to map an ADIS "key" to an ADIS "function". I want to map a physical keystroke to and ADIS "key". Specifically, I want the mouse to be able to do sommthing during an ADIS ACCEPT. Preferably, I would like it to move the cursor.
 
mouse has two dialog key mnemonics, MSL and MSR. - search for them and you may find it - way too long for me to remember how it works


Regards

Frederico Fonseca
SysSoft Integrated Ltd

FAQ219-2884
FAQ181-2886
 
Yes, this is exactly what I was looking for. It is in my copy of the book, I guess I was not diligent enough to find it. I hope it works. I'll test it out and get back to you.
 
I works! Somewhat complex, but that can be hidden in the copybook. You have to Initialize the mouse, Open the mouse, Activate the mouse function, then after the mouse is detected, Read the mouse data. With the example in the book, the mouse moves the cursor if clicked on an input field, but if cliked elsewhere, it terminates the ACCEPT with the Mouse function code in CRT STATUS. This is exactly what I wanted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top