1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding menu entries without using SimConnect Menu Functions

Discussion in 'Tools programming' started by Manuel Ambulo, 23/10/06.

  1. Manuel Ambulo

    Manuel Ambulo

    Joined:
    29/9/06
    Messages:
    162
    Country:
    panama
    Hi,

    In FSX, is possible to add menu entries without using SimConnect's Menu functions?, (i mean using Windows API menu functions...to add the menu entry?....using the same method used by FS Modules, in previous FS versions? (Windows subclassing))...

    Best Regards,

    Manuel Ambulo
  2. scruffyduck

    scruffyduck Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    17/9/05
    Messages:
    24,130
    Country:
    wales
    Sorry Manuel I don't know the answer to that one - maybe someone else can answer. I guess Pete Dowson would know :)
  3. Manuel Ambulo

    Manuel Ambulo

    Joined:
    29/9/06
    Messages:
    162
    Country:
    panama
    Hi,

    Thanks, scruffyduck...yes, i think maybe Pete or someone else can answer this question..lol...but anyways thanks scruffyduck :) ...

    i mean SimConnect does more easy the things for communicate with FS, but the problem is if i have a previous program that worked with FS8, and FS9 then updating to FSX, can be a bit tricky, as i have to see which part of the code to modify and which to leave it as it is..so i just do minor changes and not big changes to the code...lol

    Best Regards,

    Manuel Ambulo
  4. noisy

    noisy

    Joined:
    29/9/06
    Messages:
    1
    Country:
    germany
    Hi Manuel,

    no, it's not possible. The FSX menu seems to be no standard Windows menu, I think they wrote their own menu system for FSX.

    Regards,
    Matthias
  5. Pete Dowson

    Pete Dowson

    Joined:
    25/9/06
    Messages:
    315
    Country:
    unitedkingdom
    I know it can't be down via the normal Windows menu handling. It would need hacking into FSX code to find the right procedures to call with the right parameters.

    There are some reasons for spending so many hours hacking, but I don't think this is one of them, at least not for me. It is something I used to do easily, but I'm getting too old (lazy?) and prefer the easy route when there is one. As long as it is supported by SimConnect, I'll use that, even if it isn't perfect.

    Regards

    Pete
  6. Manuel Ambulo

    Manuel Ambulo

    Joined:
    29/9/06
    Messages:
    162
    Country:
    panama
    Thanks, noisy and Pete,

    I think i will then use SimConnect, as i better choose to switch using SimConnect's menu functions than spent hours trying to hack into the FSX code,....i think it will be better for my brain's health...lol...i was just asking so if it was possible then i may leave the old code (that was using Window's Menu functions), but now i see i need to make a new code handling SimConnect's Menu functions...:eek:

    Best Regards,

    Manuel Ambulo

Share This Page