Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetting it to work in Windows 2000 and Windows XP Pin
droozenrule@yahoo.com25-May-05 11:05
sussdroozenrule@yahoo.com25-May-05 11:05 
GeneralRe: Getting it to work in Windows 2000 and Windows XP Pin
Ravi Bhavnani25-May-05 11:32
professionalRavi Bhavnani25-May-05 11:32 
GeneralRe: Getting it to work in Windows 2000 and Windows XP Pin
Graham Bradshaw25-May-05 12:27
Graham Bradshaw25-May-05 12:27 
GeneralRe: Getting it to work in Windows 2000 and Windows XP Pin
droozenrule@yahoo.com26-May-05 11:22
sussdroozenrule@yahoo.com26-May-05 11:22 
Questionhow to completely remove a menu item during run-time Pin
elephantstar25-May-05 10:31
elephantstar25-May-05 10:31 
AnswerRe: how to completely remove a menu item during run-time Pin
Iain Clarke, Warrior Programmer26-May-05 1:32
Iain Clarke, Warrior Programmer26-May-05 1:32 
GeneralRe: how to completely remove a menu item during run-time Pin
elephantstar27-May-05 7:15
elephantstar27-May-05 7:15 
GeneralHooking problem - need urgent help Pin
YaronNir25-May-05 8:47
YaronNir25-May-05 8:47 
I am trying to hook to a process.

i use "CreateProcess" method to create process as WinWord.exe, MSPaint.exe
etc....

then i use a hooking (using SetWindowsHookEx method) with the call
WH_CBT and in the proc i try to catch HCBT_CREATEWND and see if it is the main window.....

this all means that i need to hook the creation of the process i have just created and retrieve a handle HWND to its main window

it works ok with MSPaint but for word and excel and power point for example, it don't work at all....it seems that the hook occurs right after the main window was already created that is why the message WM_CREATE never cought....


can any1 help?
am i doing it wrong? is there a better way?
10x in advanced

Yaron
Questionhow to change window's start button text? problem with my program Pin
ELY M.25-May-05 7:40
ELY M.25-May-05 7:40 
AnswerRe: how to change window's start button text? problem with my program Pin
Ravi Bhavnani25-May-05 8:47
professionalRavi Bhavnani25-May-05 8:47 
AnswerRe: how to change window's start button text? problem with my program Pin
David Crow25-May-05 8:59
David Crow25-May-05 8:59 
GeneralRe: how to change window's start button text? problem with my program Pin
ELY M.25-May-05 9:07
ELY M.25-May-05 9:07 
GeneralRe: how to change window's start button text? problem with my program Pin
David Crow25-May-05 9:11
David Crow25-May-05 9:11 
GeneralRe: how to change window's start button text? problem with my program Pin
ELY M.27-May-05 15:14
ELY M.27-May-05 15:14 
GeneralRe: how to change window's start button text? problem with my program Pin
ELY M.27-May-05 15:27
ELY M.27-May-05 15:27 
QuestionFind out if user logged in? Pin
jaycush25-May-05 7:09
jaycush25-May-05 7:09 
AnswerRe: Find out if user logged in? Pin
David Crow25-May-05 10:43
David Crow25-May-05 10:43 
AnswerRe: Find out if user logged in? Pin
CodeBeetle26-May-05 7:01
CodeBeetle26-May-05 7:01 
GeneralExit an application Pin
Gagnon Claude25-May-05 5:51
Gagnon Claude25-May-05 5:51 
GeneralRe: Exit an application Pin
BlackDice25-May-05 6:22
BlackDice25-May-05 6:22 
GeneralRe: Exit an application Pin
Ivan Cachicatari25-May-05 8:21
Ivan Cachicatari25-May-05 8:21 
GeneralRe: Exit an application Pin
David Crow25-May-05 9:15
David Crow25-May-05 9:15 
GeneralRe: Exit an application Pin
ThatsAlok25-May-05 20:56
ThatsAlok25-May-05 20:56 
GeneralSql - Connection Problem Pin
M.Mehrdad.M25-May-05 5:20
M.Mehrdad.M25-May-05 5:20 
GeneralRe: Sql - Connection Problem Pin
BlackDice25-May-05 6:25
BlackDice25-May-05 6:25 

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.