view selection source

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...

I can't see any reason why not.
If you are the one providing the context menu, the options are entirely yours.
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...
You start by learning all you possibly can about WM_CONTEXTMENU.
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.