anyone have any ideas? How would I overlay a visual basic program when a program is running full screen?
For a while now I have not been able to really find what I want with an NES emulator. I use RockNES and it works ok but I would really like to have an emulator that runs embedded in a program or front end like FP,ME or simply as a standalone app that is a frontend for a nes emulator out there.
For instance, I'd want a program that has a button for a popup list of scrollable games similar to how you would scroll music in FP,ME or any other front end and on the same screen an embedded window that plays the game. I've attached a concept of this and was curious if anything has thought about this before? Im good with VB and VC++ and Java but I am not sure how to embed emulators so if anyone has any ideas please share.
I think that all depends on the frontend. You would need a way of interfacing with the frontend. It isn't difficult to put buttons on top of the emulator screen but you would need to be able to send the frontend commands. I was going to build an emulator launcher similar to carcade (search for it) but the problem is integrating with the frontends. So unless you worked something out with the specific frontend creator (or if one of them would create a plugin system) then I'm not sure what options you would have.
I've looked into NES emulator sources and I'm not sure if I would be able to integrate into them. What I was thinking is writing an overlay frontend that would just call the system command to run the emulator with the filename of a rom as the argument and have it go to full screen automatically. Certain emulators you can set up to run fullscreen automatically. So all I would need to know is how to code a frontend that stays on top of the screen even when an app is in full screen mode.
You don't even need to integrate with it too much. You can have the emulator run, make sure your app is running on top (above the others in terms of z-order). To send commands you can simply send messages to the Window. Look up info on FindWindow and SendMessage you can send appropriate WM_KEYDOWN and WM_KEYUP messages to "simulate" the user hitting hotkeys or pulldown menus. You can use SetWindowPos to make your window "Always on top".
I know this is very straightforward in C. In VB you may have to import those library functions, but I haven't used VB since 5.0. I think the syntax was Declare <the func> ByVal Lib <the lib>.
Problem with that is the app may not take sendkey commands (of course as I said it all depends on the frontend). You can try using the tab key to move around from control to control but that kind of sucks.Originally Posted by TheLlama
I don't have much experience with .NET Studio but I do have experience with VB so I can't imagine I would have issues learning the new language.
Do you have any examples of this in C?Originally Posted by TheLlama