Click here to Skip to main content
15,922,325 members
Home / Discussions / C#
   

C#

 
AnswerRe: Making editor in C#.net Pin
Vasudevan Deepak Kumar16-Nov-07 0:26
Vasudevan Deepak Kumar16-Nov-07 0:26 
QuestionProblem with events in Webservices Pin
J. Holzer16-Nov-07 0:19
J. Holzer16-Nov-07 0:19 
QuestionHow to get ISP provided speed [modified] Pin
RameshwerE15-Nov-07 23:32
RameshwerE15-Nov-07 23:32 
AnswerRe: How to get ISP provided speed Pin
Guffa15-Nov-07 23:50
Guffa15-Nov-07 23:50 
QuestionPrinting a rectangle with exact sizes... Pin
devzav15-Nov-07 23:13
devzav15-Nov-07 23:13 
AnswerRe: Printing a rectangle with exact sizes... Pin
Adeel Chaudhry16-Nov-07 0:55
Adeel Chaudhry16-Nov-07 0:55 
AnswerRe: Printing a rectangle with exact sizes... Pin
devzav16-Nov-07 1:33
devzav16-Nov-07 1:33 
QuestionOverride windows Proc Pin
narayanagvs15-Nov-07 23:02
narayanagvs15-Nov-07 23:02 
Hi,

I want to override the windows procedure of another appication as I
need to disable the right click option on that application.

I have taken a windows form based application.
On a button click I started another application from my application(Using Process.start)and got the handle for that application .

Now I pass this Handle to MyHookclass contructor which is derived from NativeWindow. In its Construtor I assign the handle to "this" using Nativewindow Fn AssignHandle (i.e this->AssignHandle(hWnd)). I have
ovveriden the windows Procedure in MyHookClass and handled the WM_ContextMenu Msg placing a MessageBox.

Now when I right click on another application nothing happens . Is there anything Iam missing apart from assigning the handle and Overriding windows Proc? I verified the handle it is fine.But my Winwdow Proc is not called.

Any suggestions would be appreciated.

Thanks
Satya

Today is a gift, that's why it is called the present.

AnswerRe: Override windows Proc Pin
mav.northwind16-Nov-07 4:44
mav.northwind16-Nov-07 4:44 
Questionis problem in dataset? Pin
pekhaleyogesh15-Nov-07 23:01
pekhaleyogesh15-Nov-07 23:01 
AnswerRe: is problem in dataset? Pin
Pankaj - Joshi15-Nov-07 23:18
Pankaj - Joshi15-Nov-07 23:18 
GeneralRe: is problem in dataset? Pin
pekhaleyogesh15-Nov-07 23:26
pekhaleyogesh15-Nov-07 23:26 
GeneralRe: is problem in dataset? Pin
Pankaj - Joshi15-Nov-07 23:37
Pankaj - Joshi15-Nov-07 23:37 
QuestionHow to only open one instance of a window form from parent form Pin
Deques15-Nov-07 22:58
Deques15-Nov-07 22:58 
AnswerRe: How to only open one instance of a window form from parent form Pin
Pankaj - Joshi15-Nov-07 23:15
Pankaj - Joshi15-Nov-07 23:15 
GeneralRe: How to only open one instance of a window form from parent form Pin
Pete O'Hanlon15-Nov-07 23:32
mvePete O'Hanlon15-Nov-07 23:32 
GeneralRe: How to only open one instance of a window form from parent form Pin
Pankaj - Joshi15-Nov-07 23:34
Pankaj - Joshi15-Nov-07 23:34 
GeneralRe: How to only open one instance of a window form from parent form Pin
Bekjong16-Nov-07 0:10
Bekjong16-Nov-07 0:10 
GeneralRe: How to only open one instance of a window form from parent form Pin
Pete O'Hanlon16-Nov-07 0:30
mvePete O'Hanlon16-Nov-07 0:30 
GeneralRe: How to only open one instance of a window form from parent form Pin
Pete O'Hanlon16-Nov-07 0:32
mvePete O'Hanlon16-Nov-07 0:32 
GeneralRe: How to only open one instance of a window form from parent form Pin
Deques16-Nov-07 0:09
Deques16-Nov-07 0:09 
GeneralRe: How to only open one instance of a window form from parent form Pin
Pete O'Hanlon16-Nov-07 0:29
mvePete O'Hanlon16-Nov-07 0:29 
GeneralRe: How to only open one instance of a window form from parent form Pin
Shpendh16-Nov-07 1:38
Shpendh16-Nov-07 1:38 
AnswerRe: How to only open one instance of a window form from parent form Pin
dan!sh 16-Nov-07 0:33
professional dan!sh 16-Nov-07 0:33 
Questionuninstalling application through code Pin
dan!sh 15-Nov-07 22:47
professional dan!sh 15-Nov-07 22:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.