Click here to Skip to main content
15,916,288 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Allocating memory using calloc. Pin
David Crow8-Jan-08 2:18
David Crow8-Jan-08 2:18 
GeneralRe: Allocating memory using calloc. Pin
jossion8-Jan-08 16:07
jossion8-Jan-08 16:07 
GeneralCMenu close notification Pin
Abyss2-Jan-08 23:14
Abyss2-Jan-08 23:14 
GeneralRe: CMenu close notification Pin
Naveen2-Jan-08 23:49
Naveen2-Jan-08 23:49 
GeneralRe: CMenu close notification Pin
Abyss3-Jan-08 0:05
Abyss3-Jan-08 0:05 
GeneralRe: CMenu close notification Pin
Naveen3-Jan-08 0:31
Naveen3-Jan-08 0:31 
GeneralRe: CMenu close notification Pin
Abyss3-Jan-08 0:44
Abyss3-Jan-08 0:44 
GeneralRe: CMenu close notification Pin
Nishad S3-Jan-08 1:56
Nishad S3-Jan-08 1:56 
Naveen wrote:
TrackPopupMenu will return 0 if user cancels the menu.


Only if the TPM_RETURNCMD is specified. If not it will return the success or failure status.

See the MSDN documentaion.

If you specify TPM_RETURNCMD in the fuFlags parameter, the return value is the menu-item identifier of the item that the user selected. If the user cancels the menu without making a selection, or if an error occurs, then the return value is 0.

If you do not specify TPM_RETURNCMD in the fuFlags parameter, the return value is nonzero if the function succeeds and 0 if it fails. To get extended error information, call GetLastError.


- NS -
[ODBaseBtn]

GeneralList control's last column clipping while client area is managed for placing a custom scroll bar Pin
jijeeshkv2-Jan-08 22:33
jijeeshkv2-Jan-08 22:33 
QuestionHow to convert pair of 8-bit codepoints to decimal value Pin
johnalek2-Jan-08 21:59
johnalek2-Jan-08 21:59 
AnswerIs becoming a quite annoying repost Pin
CPallini2-Jan-08 22:34
mveCPallini2-Jan-08 22:34 
QuestionIs it possible to develop a GraphicsPath object from a Region object? Pin
Md. Ali Naser Khan2-Jan-08 20:24
Md. Ali Naser Khan2-Jan-08 20:24 
GeneralVisual studio Pin
nitin32-Jan-08 19:57
nitin32-Jan-08 19:57 
GeneralRe: Visual studio Pin
Nishad S2-Jan-08 20:03
Nishad S2-Jan-08 20:03 
GeneralRe: Visual studio Pin
nitin32-Jan-08 20:33
nitin32-Jan-08 20:33 
GeneralRe: Visual studio Pin
Nishad S2-Jan-08 21:22
Nishad S2-Jan-08 21:22 
GeneralRe: Visual studio Pin
Maxwell Chen2-Jan-08 22:06
Maxwell Chen2-Jan-08 22:06 
GeneralRe: Visual studio Pin
Nishad S3-Jan-08 2:12
Nishad S3-Jan-08 2:12 
GeneralRe: Visual studio Pin
Maxwell Chen3-Jan-08 5:08
Maxwell Chen3-Jan-08 5:08 
GeneralRe: Visual studio Pin
Florin Crişan2-Jan-08 22:29
Florin Crişan2-Jan-08 22:29 
GeneralRe: Visual studio Pin
CPallini3-Jan-08 0:17
mveCPallini3-Jan-08 0:17 
GeneralRe: Visual studio Pin
Florin Crişan3-Jan-08 0:22
Florin Crişan3-Jan-08 0:22 
GeneralBuild date timestamp Pin
HenriH2-Jan-08 19:52
HenriH2-Jan-08 19:52 
GeneralRe: Build date timestamp Pin
CPallini2-Jan-08 21:22
mveCPallini2-Jan-08 21:22 
QuestionHow can disable Dialog Box when call SetupCommitFileQueue Pin
machoman_VC++2-Jan-08 19:38
machoman_VC++2-Jan-08 19:38 

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.