Change any window file menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ShadowLocke
    New Member
    • Jan 2008
    • 116

    Change any window file menu

    I know this can be done, but now that I need it I cant seem to find it anywhere.

    Can anyone point me in the right direction for the API's I would use, or sample/pseudo code to start with?

    What I mean by "change window file menu" is the menu at the top of every window (File -> Save/Save As../Exit)

    The ultimate goal being to spawn an instance of MsPaint and disabling (or even better, changing) the save functions in the menu.

    Thanks in advance!
  • ShadowLocke
    New Member
    • Jan 2008
    • 116

    #2
    Ahh found it!

    http://msdn2.microsoft .com/en-us/library/ms674661(VS.85) .aspx

    Comment

    • ShadowLocke
      New Member
      • Jan 2008
      • 116

      #3
      Oh wait..thats not what im looking for..

      Comment

      • ShadowLocke
        New Member
        • Jan 2008
        • 116

        #4
        Oh wait....I feel stupid. This is what i was looking for..through my testing GetSystemMenu was the only "GetMenu" I noticed. GetMenu was the exact API I was looking for.

        Just ignore this thread...

        Comment

        Working...