Click here to Skip to main content
15,908,843 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using SetMenuInfo Pin
ns28-Jan-03 8:45
ns28-Jan-03 8:45 
GeneralRe: Using SetMenuInfo Pin
Joaquín M López Muñoz28-Jan-03 8:48
Joaquín M López Muñoz28-Jan-03 8:48 
GeneralI think that works.... Pin
ns28-Jan-03 9:13
ns28-Jan-03 9:13 
GeneralRe: I think that works.... Pin
Joaquín M López Muñoz28-Jan-03 9:17
Joaquín M López Muñoz28-Jan-03 9:17 
GeneralRe: I think that works.... Pin
ns28-Jan-03 9:24
ns28-Jan-03 9:24 
GeneralRe: I think that works.... Pin
Joaquín M López Muñoz28-Jan-03 9:26
Joaquín M López Muñoz28-Jan-03 9:26 
GeneralRe: I think that works.... Pin
ns28-Jan-03 9:40
ns28-Jan-03 9:40 
GeneralRe: I think that works.... Pin
Joaquín M López Muñoz28-Jan-03 9:47
Joaquín M López Muñoz28-Jan-03 9:47 
BTW, its happy now since the constantness issue is resolved (and I still think they shouldnt have said LPCMENUINFO in the argument for SetMenuInfo..I guess they mean they will treat it as constant after it goes in....do you agree? . So before we pass it in , we have to do it like you showed me, and pass the address...

This idiom may be difficult to understand at first, but it is most usual: Win32 (and almost any other library you can think of) is crowded with examples similar to this with regard to the const pointer issue. After all, the idiom seems more natural if you consider that the function invoked can do little with a const pointer except reading its contents, so it makes sense that the caller be responsible of filling them.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: I think that works.... Pin
ns28-Jan-03 9:45
ns28-Jan-03 9:45 
GeneralRe: I think that works.... Pin
ns28-Jan-03 9:50
ns28-Jan-03 9:50 
GeneralThe SDK in question.... Pin
ns28-Jan-03 10:47
ns28-Jan-03 10:47 
GeneralRe: The SDK in question.... Pin
Michael Dunn28-Jan-03 15:49
sitebuilderMichael Dunn28-Jan-03 15:49 
GeneralOpenDocumentFile Pin
Dov Sherman28-Jan-03 6:25
Dov Sherman28-Jan-03 6:25 
GeneralRe: OpenDocumentFile Pin
Roger Allen29-Jan-03 1:35
Roger Allen29-Jan-03 1:35 
GeneralRe: OpenDocumentFile Pin
Dov Sherman29-Jan-03 6:40
Dov Sherman29-Jan-03 6:40 
GeneralOnPaint( ) -- how do I Pin
john john mackey28-Jan-03 5:31
john john mackey28-Jan-03 5:31 
GeneralRe: OnPaint( ) -- how do I Pin
john john mackey28-Jan-03 6:20
john john mackey28-Jan-03 6:20 
QuestionIs it possible to insert a new line (\n) in a tool tip? Pin
Luis E. Cuadrado28-Jan-03 5:22
Luis E. Cuadrado28-Jan-03 5:22 
AnswerRe: Is it possible to insert a new line (\n) in a tool tip? Pin
will138328-Jan-03 5:29
will138328-Jan-03 5:29 
AnswerRe: Is it possible to insert a new line (\n) in a tool tip? Pin
PJ Arends28-Jan-03 7:39
professionalPJ Arends28-Jan-03 7:39 
AnswerRe: Is it possible to insert a new line (\n) in a tool tip? Pin
Luis E. Cuadrado28-Jan-03 8:00
Luis E. Cuadrado28-Jan-03 8:00 
GeneralMessage Propagation (MFC related) Pin
will138328-Jan-03 5:06
will138328-Jan-03 5:06 
GeneralLogin Screen Pin
ClemenceD28-Jan-03 5:04
ClemenceD28-Jan-03 5:04 
Generaltarget a global security group c++ Pin
Member 13661828-Jan-03 4:39
Member 13661828-Jan-03 4:39 
GeneralRe: target a global security group c++ Pin
Abbas_Riazi28-Jan-03 4:59
professionalAbbas_Riazi28-Jan-03 4:59 

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.