Click here to Skip to main content
15,898,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Run hidden on startup Pin
Blake Miller22-Dec-05 6:04
Blake Miller22-Dec-05 6:04 
AnswerRe: Run hidden on startup Pin
Rajesh R Subramanian21-Dec-05 17:17
professionalRajesh R Subramanian21-Dec-05 17:17 
QuestionGetActiveWindow returns NULL Pin
wilbur_logan21-Dec-05 9:45
wilbur_logan21-Dec-05 9:45 
AnswerRe: GetActiveWindow returns NULL Pin
TheGreatAndPowerfulOz21-Dec-05 9:52
TheGreatAndPowerfulOz21-Dec-05 9:52 
GeneralRe: GetActiveWindow returns NULL Pin
wilbur_logan21-Dec-05 10:02
wilbur_logan21-Dec-05 10:02 
GeneralRe: GetActiveWindow returns NULL Pin
TheGreatAndPowerfulOz21-Dec-05 10:18
TheGreatAndPowerfulOz21-Dec-05 10:18 
GeneralRe: GetActiveWindow returns NULL Pin
wilbur_logan21-Dec-05 10:40
wilbur_logan21-Dec-05 10:40 
AnswerRe: GetActiveWindow returns NULL Pin
Rajesh R Subramanian21-Dec-05 17:22
professionalRajesh R Subramanian21-Dec-05 17:22 
wilbur_logan wrote:
I want to have a standalone application that will run in the background and give me the handle to the foreground window.. how do i do that?.


Clearly, you need to write a system wide hook. Depending on your need, it may be a keyboard hook, a mouse hook, or etc etc.

Regards,
Rajesh R. Subramanian.

You have an apple and me too. We exchange those and We have an apple each.
You have an idea and me too. We exchange those and We have two ideas each.


-- modified at 23:23 Wednesday 21st December, 2005
GeneralRe: GetActiveWindow returns NULL Pin
wilbur_logan22-Dec-05 7:39
wilbur_logan22-Dec-05 7:39 
QuestionErase item from std::vector? Pin
Lord Kixdemp21-Dec-05 9:38
Lord Kixdemp21-Dec-05 9:38 
AnswerRe: Erase item from std::vector? Pin
TheGreatAndPowerfulOz21-Dec-05 9:39
TheGreatAndPowerfulOz21-Dec-05 9:39 
GeneralRe: Erase item from std::vector? Pin
Lord Kixdemp21-Dec-05 9:51
Lord Kixdemp21-Dec-05 9:51 
GeneralRe: Erase item from std::vector? Pin
toxcct21-Dec-05 21:38
toxcct21-Dec-05 21:38 
GeneralRe: Erase item from std::vector? Pin
Lord Kixdemp24-Dec-05 16:11
Lord Kixdemp24-Dec-05 16:11 
QuestionEvent Pin
sam117321-Dec-05 8:49
sam117321-Dec-05 8:49 
AnswerRe: Event Pin
TheGreatAndPowerfulOz21-Dec-05 9:38
TheGreatAndPowerfulOz21-Dec-05 9:38 
GeneralRe: Event Pin
sam117321-Dec-05 10:54
sam117321-Dec-05 10:54 
GeneralRe: Event Pin
Blake Miller22-Dec-05 6:07
Blake Miller22-Dec-05 6:07 
QuestionSwapping items in ListBox? Pin
Lord Kixdemp21-Dec-05 8:17
Lord Kixdemp21-Dec-05 8:17 
AnswerRe: Swapping items in ListBox? Pin
David Crow21-Dec-05 8:27
David Crow21-Dec-05 8:27 
GeneralRe: Swapping items in ListBox? Pin
Lord Kixdemp21-Dec-05 9:06
Lord Kixdemp21-Dec-05 9:06 
GeneralRe: Swapping items in ListBox? Pin
PJ Arends21-Dec-05 9:23
professionalPJ Arends21-Dec-05 9:23 
GeneralRe: Swapping items in ListBox? Pin
Lord Kixdemp21-Dec-05 9:26
Lord Kixdemp21-Dec-05 9:26 
GeneralRe: Swapping items in ListBox? Pin
PJ Arends21-Dec-05 9:40
professionalPJ Arends21-Dec-05 9:40 
AnswerRe: Swapping items in ListBox? Pin
Maximilien21-Dec-05 10:04
Maximilien21-Dec-05 10:04 

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.