iamliam Posted August 19, 2006 Posted August 19, 2006 I'm writing an application for the PocketPC that will parse it's own markup language into HTML for viewing (I really don't want to write my own renderer.) Anyway, in the MSDN help it says that the WebBrowser control supports ContextMenus. However, I see no ContextMenu property in the properties window. All the other common CF controls have the property, though. Anyone know what's going on, and if there's a workaround? Quote
iamliam Posted August 22, 2006 Author Posted August 22, 2006 I hate to double post, but I need some urgent help. Is it safe to assume that noone knows the answer? If not, does anyone know how to get rid of the WebBrowser context menu altogether? Quote
Mike_R Posted August 22, 2006 Posted August 22, 2006 I don't have a clue, myself, really. (Sorry.) Just thinking out loud, is there a BeforeRightClick() event or the like you can hook? Quote Posting Guidelines Avatar by Lebb
iamliam Posted August 22, 2006 Author Posted August 22, 2006 Unfortunately, no :( Because the PocketPC is meant to be used with a touchscreen and a stylus, it's equivalent to a right click is the "tap and hold", where you hold the stylus down for about 5 seconds and a menu comes up. Anyway, it doesn't have any stylus events. :( Quote
Leaders snarfblam Posted August 23, 2006 Leaders Posted August 23, 2006 Can you set the ContextMenu property through code? Quote [sIGPIC]e[/sIGPIC]
iamliam Posted August 23, 2006 Author Posted August 23, 2006 Nope :( Does anyone know if there is there some sort of direct Windows API code? Quote
Leaders snarfblam Posted August 23, 2006 Leaders Posted August 23, 2006 Appearently this is a known issue (its somewhere in here). I think you might just have to suck it up. By the way, even though the OS is meant to be used with a stylus, from a program's point of view a touch screen still works the same way as a mouse. If the control supports mouse events, they should also work with the stylus. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.