http://javascript.internet.com/page-details/no-right-click.html[^] Google reveals all :)
spamoom
Posts
-
Microsoft Web Browser - no scroll bars and no right click? -
C# .NET Windows Media Player WM_COPYDATA *whimper*Looks like I'm in luck! I'll take a look at the MSDN topic later on today. Regarding #2, wmp already includes this by default to support windows messenger. Thanks Richard
-
Microsoft Web Browser - no scroll bars and no right click?You can use
webBrowser1.ScrollBarsEnabled = false;
in .NET. As for right click I'd do it with javascript on the actual page, haven't a clue how to do it with code. -
C# .NET Windows Media Player WM_COPYDATA *whimper*My apologies :P Yes, I'm trying to impliment WM_COPYDATA into my C# .NET program, however it needs to get the data sent by wmplayer.exe rather than another application that I have written. Thanks
-
C# .NET Windows Media Player WM_COPYDATA *whimper*Well, let me get my situation explained. Before I go any further please know I HAVE google'd, so much so that I'm posting on a forum after a few hours of searching :). Sticking to the point, I'm basically trying to aquire the current media info from windows media player and retrieve the value in a .NET application. My apologies for the amount of links. I first found the COM refrence named wmp.dll, after a reasonable amount of time wasted, I realised that it was used for embedding WMP in a form application etc, which isn't what I wanted. Next I hit google, nothing. IRC followed with everyone shrugging, one individual did however suggest I look at a IM plugin source code. After that I found the following file written in what I think looks like C (http://pidgin-musictracker.googlecode.com/svn/trunk/src/wmp.c[^). Reading through the plugin wiki revealed the following page, (http://kentie.net/article/nowplaying/index.htm[^]). I learned that the wmp live messenger plugin sent its data via WM_COPYDATA (still not too sure on how that works :D), following on from that... I then landed on the following link which seemed very promising at first (http://www.codeproject.com/KB/cs/wm_copydata_use.aspx[^]). I downloaded the source & binaries and sure enough the data was 'magically' been sent between programs, I thought to myself.. thats how WMP does it! :) After reading the source, I was stumped... probably due to my lack of knowlage and experience. Could some 'kind' individual(s) aid me in these troubles I am having. Kind Regards Sam