Click here to Skip to main content
15,892,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to check internet Connectivity. Pin
Rajesh R Subramanian6-Aug-09 2:23
professionalRajesh R Subramanian6-Aug-09 2:23 
GeneralRe: How to check internet Connectivity. Pin
AWEIguoxin6-Aug-09 20:10
AWEIguoxin6-Aug-09 20:10 
AnswerRe: How to check internet Connectivity. Pin
David Crow6-Aug-09 4:16
David Crow6-Aug-09 4:16 
AnswerRe: How to check internet Connectivity. Pin
kilt7-Aug-09 23:48
kilt7-Aug-09 23:48 
QuestionGetDesktopWindow() and Window Hooks Pin
Madhu_Rani5-Aug-09 21:22
Madhu_Rani5-Aug-09 21:22 
AnswerRe: GetDesktopWindow() and Window Hooks Pin
Adam Roderick J5-Aug-09 22:01
Adam Roderick J5-Aug-09 22:01 
GeneralRe: GetDesktopWindow() and Window Hooks Pin
Madhu_Rani5-Aug-09 23:05
Madhu_Rani5-Aug-09 23:05 
GeneralRe: GetDesktopWindow() and Window Hooks Pin
Madhu_Rani5-Aug-09 23:05
Madhu_Rani5-Aug-09 23:05 
LRESULT CALLBACK CBTProc(int nCode, WPARAM wParam, LPARAM lParam)
{
int x=12;
if (nCode==HCBT_MINMAX)
{
AfxMessageBox(_T("Called"));
}

return 0;
}

CSDITESTView::CSDITESTView()
{
SetWindowsHookEx(WH_CBT,&CBTProc,NULL,0);

}


After reading the mentioned article, I wrote these lines, but it is not working? I am expecting that when I minimize the window , the associated call back function should be called.
Questionpatching operation code known as opcodes Pin
nah13375-Aug-09 20:29
nah13375-Aug-09 20:29 
AnswerRe: patching operation code known as opcodes Pin
Adam Roderick J5-Aug-09 20:57
Adam Roderick J5-Aug-09 20:57 
GeneralRe: patching operation code known as opcodes Pin
nah13376-Aug-09 2:30
nah13376-Aug-09 2:30 
AnswerRe: patching operation code known as opcodes Pin
Bacon Ultimate Cheeseburger6-Aug-09 16:27
Bacon Ultimate Cheeseburger6-Aug-09 16:27 
GeneralRe: patching operation code known as opcodes Pin
nah13376-Aug-09 19:44
nah13376-Aug-09 19:44 
QuestionCTreeCtrl Pin
john56325-Aug-09 20:16
john56325-Aug-09 20:16 
AnswerRe: CTreeCtrl Pin
Adam Roderick J5-Aug-09 20:22
Adam Roderick J5-Aug-09 20:22 
GeneralRe: CTreeCtrl Pin
john56325-Aug-09 22:08
john56325-Aug-09 22:08 
GeneralRe: CTreeCtrl Pin
Adam Roderick J5-Aug-09 22:53
Adam Roderick J5-Aug-09 22:53 
GeneralRe: CTreeCtrl Pin
john56326-Aug-09 0:37
john56326-Aug-09 0:37 
GeneralRe: CTreeCtrl Pin
Adam Roderick J6-Aug-09 17:44
Adam Roderick J6-Aug-09 17:44 
GeneralRe: CTreeCtrl Pin
TinDude23-Sep-11 21:27
TinDude23-Sep-11 21:27 
QuestionTICKS PER MILLISECOND Pin
RKP7285-Aug-09 19:55
RKP7285-Aug-09 19:55 
AnswerRe: TICKS PER MILLISECOND Pin
Adam Roderick J5-Aug-09 20:16
Adam Roderick J5-Aug-09 20:16 
GeneralRe: TICKS PER MILLISECOND Pin
RKP7285-Aug-09 21:09
RKP7285-Aug-09 21:09 
GeneralRe: TICKS PER MILLISECOND Pin
Adam Roderick J5-Aug-09 22:14
Adam Roderick J5-Aug-09 22:14 
GeneralRe: TICKS PER MILLISECOND Pin
RKP7286-Aug-09 1:53
RKP7286-Aug-09 1:53 

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.