Main > Software Forum

Can someone who uses DK test out marvel vs capcom

Pages: << < (3/3)

PacManFan:

If you'd like, I could give you the code for the XML based skin file format I created. It's very flexable, and the way the file format  is created, you can add new data types without breaking it and still maintain backward compatibilty. I remember someone asking an open ended question about swapping skins between different FE's and asking if that was possible.

-PMF

Howard_Casto:

Getting back to the topic at hand...

I think I found a solution, one that doesn't involve crazy stuff like intercepting the key buffer and clearing it.

It's so stupid, but apparently it works.  If you use the setfocus api call (often renamed putfocus in vb)  and set the focus to null just before you launch then nothing gets the keys pressed until something else sets focus on itself (in this case the emulator)  upon exiting, windows sets the focus back to the next to highest thing in the zorder (which should be your fe).  So it doesn't kill the keypresses they just go away to some magical non existant form that we don't care about.  :)

Minwah:


--- Quote from: Howard_Casto on June 05, 2004, 05:19:41 pm ---Getting back to the topic at hand...

I think I found a solution, one that doesn't involve crazy stuff like intercepting the key buffer and clearing it.

It's so stupid, but apparently it works.  If you use the setfocus api call (often renamed putfocus in vb)  and set the focus to null just before you launch then nothing gets the keys pressed until something else sets focus on itself (in this case the emulator)  upon exiting, windows sets the focus back to the next to highest thing in the zorder (which should be your fe).  So it doesn't kill the keypresses they just go away to some magical non existant form that we don't care about.  :)

--- End quote ---

Sounds good, I'll have to give it a try :)

Pages: << < (3/3)

Go to full version