Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Access Violation. Pin
toxcct18-Jul-07 1:13
toxcct18-Jul-07 1:13 
QuestionRe: Access Violation. Pin
David Crow18-Jul-07 2:41
David Crow18-Jul-07 2:41 
Questionhelp with files Pin
josip cagalj17-Jul-07 23:53
josip cagalj17-Jul-07 23:53 
AnswerRe: help with files Pin
PravinSingh18-Jul-07 1:45
PravinSingh18-Jul-07 1:45 
AnswerRe: help with files Pin
David Crow18-Jul-07 2:44
David Crow18-Jul-07 2:44 
AnswerRe: help with files Pin
Hamid_RT25-Jul-07 8:30
Hamid_RT25-Jul-07 8:30 
QuestionSubclassing Issue Pin
LoveCPlusplus17-Jul-07 23:42
LoveCPlusplus17-Jul-07 23:42 
AnswerRe: Subclassing Issue Pin
Mike Dimmick18-Jul-07 2:53
Mike Dimmick18-Jul-07 2:53 
From the SetWindowLongPtr documentation:

"If the previous value is zero and the function succeeds, the return value is zero, but the function does not clear the last error information. To determine success or failure, clear the last error information by calling SetLastError(0), then call SetWindowLongPtr. Function failure will be indicated by a return value of zero and a GetLastError result that is nonzero."

The only cases in which these functions should fail are if you pass an invalid window handle, or if you pass an invalid index value (more than the number of bytes associated with the window, or not one of the defined GWL/GWLP values).

Stability. What an interesting concept. -- Chris Maunder

QuestionNamedpipe Pin
charian092017-Jul-07 23:35
charian092017-Jul-07 23:35 
AnswerRe: Namedpipe Pin
Mark Salsbery18-Jul-07 6:19
Mark Salsbery18-Jul-07 6:19 
GeneralRe: Namedpipe Pin
charian092018-Jul-07 14:57
charian092018-Jul-07 14:57 
QuestionWhat happens after OnInitDialog()? Pin
rp_suman17-Jul-07 22:41
rp_suman17-Jul-07 22:41 
AnswerRe: What happens after OnInitDialog()? Pin
Cedric Moonen17-Jul-07 22:49
Cedric Moonen17-Jul-07 22:49 
AnswerRe: What happens after OnInitDialog()? Pin
Nibu babu thomas18-Jul-07 1:15
Nibu babu thomas18-Jul-07 1:15 
QuestionModifying the Windows Explorer Statusbar Pin
Toadflakz_UK17-Jul-07 22:14
Toadflakz_UK17-Jul-07 22:14 
QuestionHow to make first dialog iitself in a dialog based application Modeless Pin
robshere17-Jul-07 20:52
robshere17-Jul-07 20:52 
AnswerRe: How to make first dialog iitself in a dialog based application Modeless Pin
Arman S.17-Jul-07 21:35
Arman S.17-Jul-07 21:35 
GeneralRe: How to make first dialog iitself in a dialog based application Modeless Pin
Adrian Brutus17-Jul-07 22:08
Adrian Brutus17-Jul-07 22:08 
GeneralRe: How to make first dialog iitself in a dialog based application Modeless Pin
Arman S.17-Jul-07 22:33
Arman S.17-Jul-07 22:33 
QuestionRe: How to make first dialog iitself in a dialog based application Modeless Pin
robshere17-Jul-07 22:15
robshere17-Jul-07 22:15 
AnswerRe: How to make first dialog iitself in a dialog based application Modeless Pin
Arman S.17-Jul-07 22:43
Arman S.17-Jul-07 22:43 
GeneralRe: How to make first dialog iitself in a dialog based application Modeless Pin
robshere17-Jul-07 22:59
robshere17-Jul-07 22:59 
GeneralRe: How to make first dialog iitself in a dialog based application Modeless Pin
David Crow18-Jul-07 2:49
David Crow18-Jul-07 2:49 
GeneralRe: How to make first dialog iitself in a dialog based application Modeless Pin
robshere18-Jul-07 3:17
robshere18-Jul-07 3:17 
GeneralRe: How to make first dialog iitself in a dialog based application Modeless Pin
David Crow18-Jul-07 3:39
David Crow18-Jul-07 3:39 

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.