Re: Displaying and image w/ the touch of a button

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Well the change over from DOS to Windows has thrown me yet another curve.  My 
> movement engine dosn't seem to be working.  I have simplified it and 
> simplified it to see if I could find the problem and it has come down to 
> this, displaying a single image by the press of a button (in this case "i")  
> In DOS this seemed to work fine, but not in windows.  The only problem I can 
> think of is that get_key may not be a windows command.  Heres my code, take a 
> look:

Your suspicion is correct, you don't use get_key() in a windows 
program. Instead, try using an event like onKeyPress instead :)

(Hey, having a printed Win32Lib manual is sooooo very useful! 
Perhaps someone of us should start selling copies? Heh, I printed 
mine at school on a machine w/ IE, and had to handmake the index 
myself, and even the index has errors! (Caused by the fact there 
may not be some shortcuts in the manual to a few commands 
dealing with XPM's...) Another idea, Derek, can you maintain a list 
of errara'd items since the previous version of the manual? Or do I 
do that myself? :))

HTH,

--"LEVIATHAN"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu