view selection source

Dec 25, 2009 at 2:01pm
Hey everyone and happy holidays!!!

I'm working on creating my own browser and was wondering if there was a way to incorporate my own Context Menu (the menu you get when you right click) AND have BOTH the View Source and View Selection Source much like how Firefox has...

Can someone point me in the right direction...

Dec 26, 2009 at 7:31am
I can't see any reason why not.
If you are the one providing the context menu, the options are entirely yours.
Dec 26, 2009 at 4:31pm
Guestgulkan, I am sure it can be done but I just don't know where to start...what would be the code behind each of them...
Dec 26, 2009 at 4:40pm
You start by learning all you possibly can about WM_CONTEXTMENU.
Dec 27, 2009 at 12:37am
aside from looking up all you can about menus (if you haven't already there is much info at MSDN) firefox is an open source program. i always learn best from example, if I had your problem the first thing i might do is start looking through the firefox code to see what makes it tick. happy holidays!
Topic archived. No new replies allowed.