Click here to Skip to main content
15,924,982 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Run a executable file using c++ program Pin
Michael Dunn13-Jan-05 7:14
sitebuilderMichael Dunn13-Jan-05 7:14 
Generalhooking menu item in active X Pin
mansour_ahmadian13-Jan-05 2:43
mansour_ahmadian13-Jan-05 2:43 
Hello,
I am developing an add-on for an application that uses active-x. I could mange to write the add-ons and seem there is no problem with the add-on expects one. The user may select a menu item from the original application when it should not be done so I want to hook into the menu item and replacing its serving function with my own function to tell the user that he shouldn’t do this or at least disable the menu item. I don’t have any way to do this using the interface that the application can give me ( at least I don’t know about such interface!). Is there any way to do this?
The main things that I want to do are:

Assume that you have a running application and you don’t have access to its source code.
1-I want that to change the status of the some menu items in the application (disable and enable them). Can I do this? If yes how?
2- I want to find when a menu item is selected by user. Assume that when the user select File menu item, the File() function in the application is called. Can I change it so that it call MyFile() function instead of original File() function? If yes can I call File() function from MyFile() function? If yes how can I do this?

Any help is much appreciated.

Best regards

GeneralRe: hooking menu item in active X Pin
Roger Allen13-Jan-05 3:14
Roger Allen13-Jan-05 3:14 
QuestionAuto-update of my app? Pin
Hoornet9313-Jan-05 1:57
Hoornet9313-Jan-05 1:57 
AnswerRe: Auto-update of my app? Pin
ThatsAlok13-Jan-05 2:57
ThatsAlok13-Jan-05 2:57 
GeneralRe: Auto-update of my app? Pin
Hoornet9313-Jan-05 3:13
Hoornet9313-Jan-05 3:13 
GeneralRe: Auto-update of my app? Pin
ThatsAlok13-Jan-05 3:27
ThatsAlok13-Jan-05 3:27 
GeneralRe: Auto-update of my app? Pin
Hoornet9314-Jan-05 1:19
Hoornet9314-Jan-05 1:19 
GeneralRe: Auto-update of my app? Pin
ThatsAlok14-Jan-05 2:07
ThatsAlok14-Jan-05 2:07 
GeneralRe: Auto-update of my app? Pin
Hoornet9314-Jan-05 2:37
Hoornet9314-Jan-05 2:37 
GeneralRe: Auto-update of my app? Pin
ThatsAlok14-Jan-05 18:11
ThatsAlok14-Jan-05 18:11 
AnswerRe: Auto-update of my app? Pin
Geert van Horrik24-Feb-05 1:27
Geert van Horrik24-Feb-05 1:27 
GeneralZ order Pin
Arrun13-Jan-05 1:18
Arrun13-Jan-05 1:18 
GeneralRe: Z order Pin
Shog913-Jan-05 11:51
sitebuilderShog913-Jan-05 11:51 
GeneralBitmap Picking and Moving Pin
masd7913-Jan-05 0:56
masd7913-Jan-05 0:56 
GeneralRe: Bitmap Picking and Moving Pin
KaЯl13-Jan-05 4:44
KaЯl13-Jan-05 4:44 
GeneralMathematics question Pin
Rassul Yunussov13-Jan-05 0:04
Rassul Yunussov13-Jan-05 0:04 
GeneralRe: Mathematics question Pin
Selvam R13-Jan-05 0:15
professionalSelvam R13-Jan-05 0:15 
GeneralRe: Mathematics question Pin
Iain Clarke, Warrior Programmer13-Jan-05 5:16
Iain Clarke, Warrior Programmer13-Jan-05 5:16 
GeneralRe: Mathematics question Pin
Rassul Yunussov18-Jan-05 19:59
Rassul Yunussov18-Jan-05 19:59 
GeneralRe: Mathematics question Pin
Iain Clarke, Warrior Programmer18-Jan-05 22:50
Iain Clarke, Warrior Programmer18-Jan-05 22:50 
QuestionPush Button Properies-Icon prompt? Pin
José Luis Sogorb12-Jan-05 23:57
José Luis Sogorb12-Jan-05 23:57 
AnswerRe: Push Button Properies-Icon prompt? Pin
Selvam R13-Jan-05 0:05
professionalSelvam R13-Jan-05 0:05 
GeneralRe: Push Button Properies-Icon prompt? Pin
José Luis Sogorb13-Jan-05 23:18
José Luis Sogorb13-Jan-05 23:18 
Generalreading from serial port Pin
doneirik12-Jan-05 23:37
doneirik12-Jan-05 23:37 

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.