CompuServe Thread

Forum unknown · Programming

#DoIO

5 messages in this thread
#19453From: Jim Nangano/SYSOPMay 20, 1986 12:29 PM
Or you can try VANILLAKEYS if you want the ascii codes translated.
#19458From: Kevin-Neil KlopMay 20, 1986 2:41 PM
RAWKEY didn't work. when I initialized it at OpenWindow time. Even calling ModIDCMP didn't cure it. Am I doing something obviously wrong (like not creating a message port)? This is driving me crazy, and holding up the completion of a database program.
#19484From: Jim Nangano/SYSOPMay 20, 1986 9:49 PM
You have to set the RAWKEY bit in the IDCMP flag of the NewWindow structure Once you do that, intuition will send you a message of RAWKEY Class. When you have recieved that class of message, the Code field contains the raw keycode of the key pressed. You still must translate the Keycode to ASCII. Hope that helps you out.
#19484From: Jim Nangano/SYSOPMay 20, 1986 9:49 PM
You have to set the RAWKEY bit in the IDCMP flag of the NewWindow structure Once you do that, intuition will send you a message of RAWKEY Class. When you have recieved that class of message, the Code field contains the raw keycode of the key pressed. You still must translate the Keycode to ASCII. Hope that helps you out.
#19458From: Kevin-Neil KlopMay 20, 1986 2:41 PM
RAWKEY didn't work. when I initialized it at OpenWindow time. Even calling ModIDCMP didn't cure it. Am I doing something obviously wrong (like not creating a message port)? This is driving me crazy, and holding up the completion of a database program.