Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Get the IE menu to customize! How?

Get the IE menu to customize! How?

Scheduled Pinned Locked Moved The Lounge
helptutorialquestion
9 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Masoud Samimi
    wrote on last edited by
    #1

    Hi Amigos! I am trying to get the menu of the IE Browser control, which am using in the view class, to load my HTMLs as help files directly so I wouldn't need to produce help files! ( Its a Hassle sometimes! :) ). I wanted to customize the menu, for example Delete or Add new items, like when you do with system menus! ( customizing as desired! ). Any help! I appreciate in advance! :) Cheers Masoud

    L 2 Replies Last reply
    0
    • M Masoud Samimi

      Hi Amigos! I am trying to get the menu of the IE Browser control, which am using in the view class, to load my HTMLs as help files directly so I wouldn't need to produce help files! ( Its a Hassle sometimes! :) ). I wanted to customize the menu, for example Delete or Add new items, like when you do with system menus! ( customizing as desired! ). Any help! I appreciate in advance! :) Cheers Masoud

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Use CBigStick from BigStick.h also for Com stuff IBigStick comes in darn handy ! Remember Dynamic static linking to BigStick.lib is essential for any of these functions or Interfaces, :-) No need for thanks, Just knowing that I'm helping is enough for me :-)

      M 1 Reply Last reply
      0
      • L Lost User

        Use CBigStick from BigStick.h also for Com stuff IBigStick comes in darn handy ! Remember Dynamic static linking to BigStick.lib is essential for any of these functions or Interfaces, :-) No need for thanks, Just knowing that I'm helping is enough for me :-)

        M Offline
        M Offline
        Masoud Samimi
        wrote on last edited by
        #3

        I wish I had extra time like you to do such postings! GOD HELP US! :)
        No Thanks Anyways! :-D
        You could be traced anyways!

        I am not a COWARD! I POST MY NAME! :rolleyes:

        MASOUD SAMIMI PROUDLY!

        " I love water, but hate to drown! " -- Masoud Samimi Website: www.geocities.com/samimi73

        C 1 Reply Last reply
        0
        • M Masoud Samimi

          Hi Amigos! I am trying to get the menu of the IE Browser control, which am using in the view class, to load my HTMLs as help files directly so I wouldn't need to produce help files! ( Its a Hassle sometimes! :) ). I wanted to customize the menu, for example Delete or Add new items, like when you do with system menus! ( customizing as desired! ). Any help! I appreciate in advance! :) Cheers Masoud

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Since it sounds like you are hosting IWebbrowser2 inside your own CHtmlView based class, You should be able to override the implementation of IDocHostUIHandler::ShowContextMenu, replacing IE's built in menu with one of your own.

          1 Reply Last reply
          0
          • M Masoud Samimi

            I wish I had extra time like you to do such postings! GOD HELP US! :)
            No Thanks Anyways! :-D
            You could be traced anyways!

            I am not a COWARD! I POST MY NAME! :rolleyes:

            MASOUD SAMIMI PROUDLY!

            " I love water, but hate to drown! " -- Masoud Samimi Website: www.geocities.com/samimi73

            C Offline
            C Offline
            Colin J Davies
            wrote on last edited by
            #5

            I actually thought it was quite funny , :-) And you should expect such responses when posting work Q's in a Lounge Otherwise this would deteriorate into a work discussion forum, Anyhow I have an ATL example from MSJ "ATLBrowser" that manages this , If you want it I'll post it to you, I have never seen it done in MFC, but I'm sure it's possible ! Another way is to capture the right - click in the pretranslate Msg, And replace it with your Menu. Or altering the registry can add / remove items, But ! it'll effect all instances of IE also. But sure the DocHostUiInfo via the Method ShowContextMenu is the correct method,Although independant ActiveX 's will manage to contain their own Context menu's still. Regardz Colin Davies ( See I can spell my own name also ) Gate-man sees name, garage-man sees name-tag.

            M 1 Reply Last reply
            0
            • C Colin J Davies

              I actually thought it was quite funny , :-) And you should expect such responses when posting work Q's in a Lounge Otherwise this would deteriorate into a work discussion forum, Anyhow I have an ATL example from MSJ "ATLBrowser" that manages this , If you want it I'll post it to you, I have never seen it done in MFC, but I'm sure it's possible ! Another way is to capture the right - click in the pretranslate Msg, And replace it with your Menu. Or altering the registry can add / remove items, But ! it'll effect all instances of IE also. But sure the DocHostUiInfo via the Method ShowContextMenu is the correct method,Although independant ActiveX 's will manage to contain their own Context menu's still. Regardz Colin Davies ( See I can spell my own name also ) Gate-man sees name, garage-man sees name-tag.

              M Offline
              M Offline
              Masoud Samimi
              wrote on last edited by
              #6

              Thankx Colin! :) I just downloaded the ATLBrowser sample from MSJ site. I'll see it, maybe it'd inspire and solve the issue! :) About the Anynmous guy, I don't MIND anyone send such replies at all! I only mind why they are such a real BUG! and darn scared to post the name! Infact knowing who posted such reply will help us HELP THEM! Thanks again Colin! :) Cheers " I love water, but hate to drown! " -- Masoud Samimi Website: www.geocities.com/samimi73

              P 1 Reply Last reply
              0
              • M Masoud Samimi

                Thankx Colin! :) I just downloaded the ATLBrowser sample from MSJ site. I'll see it, maybe it'd inspire and solve the issue! :) About the Anynmous guy, I don't MIND anyone send such replies at all! I only mind why they are such a real BUG! and darn scared to post the name! Infact knowing who posted such reply will help us HELP THEM! Thanks again Colin! :) Cheers " I love water, but hate to drown! " -- Masoud Samimi Website: www.geocities.com/samimi73

                P Offline
                P Offline
                Paul Westcott
                wrote on last edited by
                #7

                I must say that I personally find it annoying that you Masoud constantly post technical questions in the lounge :mad: - I mean it's ok to do it once but you continually do it, especially when there have been quite a number of comments saying that this is NOT THE AREA FOR SUCH. Praise to the Anonymous poster. Have fun, Paul Westcott.

                M 1 Reply Last reply
                0
                • P Paul Westcott

                  I must say that I personally find it annoying that you Masoud constantly post technical questions in the lounge :mad: - I mean it's ok to do it once but you continually do it, especially when there have been quite a number of comments saying that this is NOT THE AREA FOR SUCH. Praise to the Anonymous poster. Have fun, Paul Westcott.

                  M Offline
                  M Offline
                  Masoud Samimi
                  wrote on last edited by
                  #8

                  Dear Paul! :) FOLLOW THESE PLEASE AND ONCE AND FOR ALL CLOSE THIS SUBJECT!

                  1. FIRST! Happy XMas and a Very Happy upcoming new year 2001! :)

                  1. I WAS NOT AWARE OF THAT THE LOUNGE IS NOT FOR TECHNICAL QUESTIONS
                    UNTIL YOUR MESSAGE! :|

                  2. WHY DID YOU TAKE MY LAST REPLY TO THE __Anonymous__ poster so
                    PERSONAL! ANYWAYS!? I AM :confused: BECAUSE YOU POSTED :mad: !

                  3. I NEVER POSTED/WILL POST __Anonymous__! BECAUSE I SIMPLY WOULD LIKE
                    PEOPLE TO __ReSpEcT__ ME AND HELP ME AND ____ HELP THEM BACKKKK ____!
                    EVEN WHEN I WAS NOT REGISTERED OR POSTED ANY ARTICLE HERE! I NEVER
                    DID POST ANYTHING __Anonymous__

                  4. I HEARTEDLY CONSIDER this web site "Code Project" A MEETING PLACE FOR
                    ALL THE PROGRAMMERS OF ALL LEVELS, TO HELP EACHOTHER, SHARE AND
                    EVEN ASK ASK ASK ASK ASK THE VERY VERY VERY SILLIEST SILLIEST
                    QUESTION THAT WOULD APPEAR TO YOU IF SUCH! YOU ARE NOT ASKED FOR YOUR
                    KIND JUDJMENT MY DEAR FRIEND (IF YOU LIKE!)

                  My very special thanks to all the question posters, repliers, and all the ones who really CARE to solve others problems even if the question was found in a Message In A Bottle! From anywhere! Posted Anywhere! :) And if a MISTAKE which I did not know I posted in the WRONG place should have been replied WITH THAT KIND OF A LANGUAGE! READ THE 1ST REPLY TO MY MESSAGE AND PLEASE TRY TO REALLY ANALYZE SOME OF THE WORDS! AND IF ANY ONE BY ANY MEANS KNOWS WHO THIS GENTLEMAN WAS, PLEASE ASK HIM WHAT HE MEANT!? :confused: AND LET ME KNOW! MAYBE I UNDERSTOOD WRONG! THANKS SO VERY MUCH IN ADVANCE MR. PAUL! GOOD NIGHT! " I love water, but hate to drown! " -- Masoud Samimi Website: www.geocities.com/samimi73

                  P 1 Reply Last reply
                  0
                  • M Masoud Samimi

                    Dear Paul! :) FOLLOW THESE PLEASE AND ONCE AND FOR ALL CLOSE THIS SUBJECT!

                    1. FIRST! Happy XMas and a Very Happy upcoming new year 2001! :)

                    1. I WAS NOT AWARE OF THAT THE LOUNGE IS NOT FOR TECHNICAL QUESTIONS
                      UNTIL YOUR MESSAGE! :|

                    2. WHY DID YOU TAKE MY LAST REPLY TO THE __Anonymous__ poster so
                      PERSONAL! ANYWAYS!? I AM :confused: BECAUSE YOU POSTED :mad: !

                    3. I NEVER POSTED/WILL POST __Anonymous__! BECAUSE I SIMPLY WOULD LIKE
                      PEOPLE TO __ReSpEcT__ ME AND HELP ME AND ____ HELP THEM BACKKKK ____!
                      EVEN WHEN I WAS NOT REGISTERED OR POSTED ANY ARTICLE HERE! I NEVER
                      DID POST ANYTHING __Anonymous__

                    4. I HEARTEDLY CONSIDER this web site "Code Project" A MEETING PLACE FOR
                      ALL THE PROGRAMMERS OF ALL LEVELS, TO HELP EACHOTHER, SHARE AND
                      EVEN ASK ASK ASK ASK ASK THE VERY VERY VERY SILLIEST SILLIEST
                      QUESTION THAT WOULD APPEAR TO YOU IF SUCH! YOU ARE NOT ASKED FOR YOUR
                      KIND JUDJMENT MY DEAR FRIEND (IF YOU LIKE!)

                    My very special thanks to all the question posters, repliers, and all the ones who really CARE to solve others problems even if the question was found in a Message In A Bottle! From anywhere! Posted Anywhere! :) And if a MISTAKE which I did not know I posted in the WRONG place should have been replied WITH THAT KIND OF A LANGUAGE! READ THE 1ST REPLY TO MY MESSAGE AND PLEASE TRY TO REALLY ANALYZE SOME OF THE WORDS! AND IF ANY ONE BY ANY MEANS KNOWS WHO THIS GENTLEMAN WAS, PLEASE ASK HIM WHAT HE MEANT!? :confused: AND LET ME KNOW! MAYBE I UNDERSTOOD WRONG! THANKS SO VERY MUCH IN ADVANCE MR. PAUL! GOOD NIGHT! " I love water, but hate to drown! " -- Masoud Samimi Website: www.geocities.com/samimi73

                    P Offline
                    P Offline
                    Paul Westcott
                    wrote on last edited by
                    #9

                    G'day Masoud, I probably went overboard with my :mad: - I think it comes from my quitting cigarettes (or attempt to anyway). But I thought that you had been told before (and my memory is obviously not serving me correctly, because I thought it was multiple times - obviously too much Wild Turkey at Christmas) I like answering peoples problems (and I think its good to do so) and the people on codeproject are a fantastic lot, and do a great job at it. But I like the lounge for what it is, a lounge, and I thought that you had been round long enough to see messages directing programming problems to the general programming areas. I can, if you desire, do a search though the list to find messages stating such. Now I'm not sure if Chris has just changed the message at the top of the lounge page http://www.codeproject.com/Lounge.asp because of this most recent post of mine (I'm pretty sure he didn't), but there it says: "The Lounge is a place where you can discuss anything that takes your fancy. All general programming questions should be posted to the Discussion boards, but if you just want to laze about and discuss things that don't quite fit elsewhere, then this is the place." And with Anonymous people, I think it is great that you are NOT anonymous, but I think that some people don't have the personality type to put their name on the line, and I think they should still be encouraged to contribute (as long as not being blatently abnoxious obviously). Givin that it is the basis of a democratic society... Have fun, Paul Westcott.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups