Click here to Skip to main content
15,894,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: const keyword Pin
David Crow2-Mar-07 2:51
David Crow2-Mar-07 2:51 
AnswerRe: const keyword Pin
Roger Stoltz2-Mar-07 3:11
Roger Stoltz2-Mar-07 3:11 
AnswerRe: const keyword Pin
toxcct2-Mar-07 1:55
toxcct2-Mar-07 1:55 
AnswerRe: const keyword Pin
vibindia2-Mar-07 4:07
vibindia2-Mar-07 4:07 
GeneralRe: const keyword Pin
John R. Shaw2-Mar-07 20:25
John R. Shaw2-Mar-07 20:25 
QuestionInfo about CListCtrl ? Pin
sakthimuthu2-Mar-07 0:16
sakthimuthu2-Mar-07 0:16 
AnswerRe: Info about CListCtrl ? Pin
Hamid_RT2-Mar-07 0:20
Hamid_RT2-Mar-07 0:20 
QuestionAny error in my code! [modified] Pin
ShaluMalu2-Mar-07 0:16
ShaluMalu2-Mar-07 0:16 
Hi everybody!

I wrote a code to display a messagebox when WM_QUERYENDSESSION message is posted.This is the code i wrote!
bool CMainWnd::OnQueryEndSession()
{
MessageBox(NULL,"QueryEndSession message is posted",MB_OK);
}

Is this correct! I expected to get a messagebox when i wanted to logoff the system. But it didnt work!Is anything wrong with my code!If so,I humbly request you to respond me!

Thanks in advance!

Regards
Shalini


-- modified at 6:55 Friday 2nd March, 2007
AnswerRe: Any error in my code! Pin
prasad_som2-Mar-07 1:18
prasad_som2-Mar-07 1:18 
QuestionThread proble. Pin
david bagaturia2-Mar-07 0:14
david bagaturia2-Mar-07 0:14 
AnswerRe: Thread proble. Pin
_anil_2-Mar-07 0:23
_anil_2-Mar-07 0:23 
AnswerRe: Thread proble. Pin
User 5838522-Mar-07 0:36
User 5838522-Mar-07 0:36 
AnswerRe: Thread proble. [modified] Pin
prasad_som2-Mar-07 1:34
prasad_som2-Mar-07 1:34 
GeneralRe: Thread proble. Pin
David Crow2-Mar-07 3:02
David Crow2-Mar-07 3:02 
GeneralRe: Thread proble. Pin
prasad_som2-Mar-07 3:06
prasad_som2-Mar-07 3:06 
QuestionMDIChild not getting WM_CLOSE Pin
_anil_2-Mar-07 0:11
_anil_2-Mar-07 0:11 
AnswerRe: MDIChild not getting WM_CLOSE Pin
prasad_som2-Mar-07 1:28
prasad_som2-Mar-07 1:28 
GeneralRe: MDIChild not getting WM_CLOSE Pin
_anil_2-Mar-07 2:22
_anil_2-Mar-07 2:22 
GeneralRe: MDIChild not getting WM_CLOSE Pin
prasad_som2-Mar-07 2:30
prasad_som2-Mar-07 2:30 
QuestionRe: MDIChild not getting WM_CLOSE Pin
Mark Salsbery2-Mar-07 8:54
Mark Salsbery2-Mar-07 8:54 
QuestionHandle left-click on popup menu Pin
Nicolas Bonamy1-Mar-07 23:51
Nicolas Bonamy1-Mar-07 23:51 
AnswerRe: Handle left-click on popup menu Pin
Nibu babu thomas1-Mar-07 23:59
Nibu babu thomas1-Mar-07 23:59 
GeneralRe: Handle left-click on popup menu Pin
Nicolas Bonamy2-Mar-07 0:05
Nicolas Bonamy2-Mar-07 0:05 
QuestionCan I provide auto scroll to the list box control? Pin
Sameer_Thakur1-Mar-07 23:31
Sameer_Thakur1-Mar-07 23:31 
QuestionDLL Question Pin
Programm3r1-Mar-07 23:26
Programm3r1-Mar-07 23:26 

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.