Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bring An Application To The Foreground Through Another Application Pin
Michael Liu24-Jun-02 4:44
Michael Liu24-Jun-02 4:44 
GeneralRe: Bring An Application To The Foreground Through Another Application Pin
Dean Michaud24-Jun-02 4:58
Dean Michaud24-Jun-02 4:58 
GeneralRe: Bring An Application To The Foreground Through Another Application Pin
David Viggiano24-Jun-02 6:03
David Viggiano24-Jun-02 6:03 
GeneralRe: Bring An Application To The Foreground Through Another Application Pin
Dean Michaud25-Jun-02 6:09
Dean Michaud25-Jun-02 6:09 
GeneralRe: Bring An Application To The Foreground Through Another Application Pin
Dean Michaud24-Jun-02 7:57
Dean Michaud24-Jun-02 7:57 
GeneralRe: Bring An Application To The Foreground Through Another Application Pin
Scott H. Settlemier27-Jun-02 9:55
Scott H. Settlemier27-Jun-02 9:55 
GeneralHooking BN_CLICKED Pin
zerver24-Jun-02 4:19
zerver24-Jun-02 4:19 
GeneralRe: Hooking BN_CLICKED Pin
David Viggiano24-Jun-02 6:10
David Viggiano24-Jun-02 6:10 
It is possible - I've done it in several applications. I have successfully used two different methods. 1) Global message hooks and 2) Remote Thread Injection. #1 works if you need to search for the target process(es) and #2 is good if you know the process already. For both cases, I use GWL_WNDPROC to replace the WndProc with my own. Then you get every message and can supress the ones you don't want the main WndProc to get.

If you need some more help, let me know. I found most of the examples of how to do both #1 & #2 somewhere around CodeProject.

D


GeneralRe: Hooking BN_CLICKED Pin
zerver27-Jun-02 1:19
zerver27-Jun-02 1:19 
GeneralGhost windows in XP. Pin
Michael Liu24-Jun-02 4:16
Michael Liu24-Jun-02 4:16 
GeneralRe: Ghost windows in XP. Pin
Jason Henderson24-Jun-02 6:08
Jason Henderson24-Jun-02 6:08 
GeneralRe: Ghost windows in XP. Pin
Michael Liu24-Jun-02 8:01
Michael Liu24-Jun-02 8:01 
GeneralRe: Ghost windows in XP. Pin
Michael Liu25-Jun-02 7:24
Michael Liu25-Jun-02 7:24 
GeneralRe: Ghost windows in XP. Pin
Michael Liu25-Jun-02 7:24
Michael Liu25-Jun-02 7:24 
GeneralRe: Ghost windows in XP. Pin
Michael Liu25-Jun-02 7:24
Michael Liu25-Jun-02 7:24 
GeneralRe: Ghost windows in XP. Pin
Michael Liu25-Jun-02 7:25
Michael Liu25-Jun-02 7:25 
GeneralRe: Ghost windows in XP. Pin
Michael Liu25-Jun-02 7:25
Michael Liu25-Jun-02 7:25 
GeneralQuick regular expression question pls Pin
jkgh24-Jun-02 4:02
jkgh24-Jun-02 4:02 
GeneralProblems with the length of the text of a CListCtrl item Pin
Grit24-Jun-02 3:42
Grit24-Jun-02 3:42 
GeneralHtml control Pin
rrrado24-Jun-02 3:01
rrrado24-Jun-02 3:01 
GeneralRead-only CRichEditView Pin
24-Jun-02 2:03
suss24-Jun-02 2:03 
GeneralCopying data from one database to another Pin
24-Jun-02 2:00
suss24-Jun-02 2:00 
GeneralRe: Copying data from one database to another Pin
rrrado24-Jun-02 2:25
rrrado24-Jun-02 2:25 
GeneralRe: Copying data from one database to another Pin
24-Jun-02 2:42
suss24-Jun-02 2:42 
GeneralRe: Copying data from one database to another Pin
rrrado24-Jun-02 2:46
rrrado24-Jun-02 2:46 

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.