-
MSG_KEYPRESS probs
Hi,
I was playing around with the message 'MSG_KEYPRESS'. I want to display a text when pressing 'KEY_1'. The problem is, the text is only displayed shortly and it jumps back to the main menu (where operator logo is displayed) and shows the keyed in '1' on display. If I use 'KEY_UP' the text is displayed correctly...
:???:
-
Have u tried to study yak's memory_editor since he says it takes control of the screen when activated
other solutions is wait for yak's return or maybe spaceimpact33 can give a hint ;)
btw, can u tell what 'MSG_KEYPRESS' is that? :-)
cheers
-
MSG_KEYPRESS is predefined in messages.h ( 0xc8 )
I was studying the msg_watcher.c and tried it the same way, but it didn't work. Maybe there's something I didn't see... :roll:
EDIT: I finally got it! :smile:
...I just had to make a condition for the 'MSG_D_QUIT' message.