Click here to Skip to main content
15,904,823 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to set a icon to the column of the CListCtrl Pin
yu-jian23-Jan-11 21:06
yu-jian23-Jan-11 21:06 
AnswerRe: How to set a icon to the column of the CListCtrl Pin
ShilpiP23-Jan-11 22:45
ShilpiP23-Jan-11 22:45 
AnswerRe: How to set a icon to the column of the CListCtrl Pin
David Crow24-Jan-11 4:21
David Crow24-Jan-11 4:21 
QuestionMouse move over Tray Icon, the icon disappear. [modified][Solved] Pin
yu-jian23-Jan-11 14:47
yu-jian23-Jan-11 14:47 
AnswerRe: Mouse move over Tray Icon, the icon disappear. Pin
Stephen Hewitt23-Jan-11 19:28
Stephen Hewitt23-Jan-11 19:28 
AnswerRe: Mouse move over Tray Icon, the icon disappear. Pin
Malli_S23-Jan-11 23:05
Malli_S23-Jan-11 23:05 
GeneralRe: Mouse move over Tray Icon, the icon disappear. Pin
yu-jian24-Jan-11 0:45
yu-jian24-Jan-11 0:45 
GeneralRe: Mouse move over Tray Icon, the icon disappear. Pin
Stephen Hewitt24-Jan-11 1:43
Stephen Hewitt24-Jan-11 1:43 
GeneralRe: Mouse move over Tray Icon, the icon disappear. Pin
Malli_S24-Jan-11 2:05
Malli_S24-Jan-11 2:05 
GeneralRe: Mouse move over Tray Icon, the icon disappear. Pin
yu-jian24-Jan-11 15:32
yu-jian24-Jan-11 15:32 
GeneralRe: Mouse move over Tray Icon, the icon disappear. Pin
yu-jian24-Jan-11 15:30
yu-jian24-Jan-11 15:30 
Questionwhat is wrong with this code? Pin
aesthetic.crazy22-Jan-11 8:41
aesthetic.crazy22-Jan-11 8:41 
AnswerRe: what is wrong with this code? Pin
PIEBALDconsult22-Jan-11 10:15
mvePIEBALDconsult22-Jan-11 10:15 
AnswerRe: what is wrong with this code? Pin
CPallini22-Jan-11 10:39
mveCPallini22-Jan-11 10:39 
AnswerRe: what is wrong with this code? Pin
T210222-Jan-11 13:08
T210222-Jan-11 13:08 
AnswerRe: what is wrong with this code? [modified] Pin
Richard MacCutchan22-Jan-11 21:35
mveRichard MacCutchan22-Jan-11 21:35 
AnswerRe: what is wrong with this code? Pin
Aescleal23-Jan-11 6:34
Aescleal23-Jan-11 6:34 
GeneralRe: what is wrong with this code? Pin
Adam Roderick J23-Jan-11 19:04
Adam Roderick J23-Jan-11 19:04 
GeneralRe: what is wrong with this code? Pin
PIEBALDconsult24-Jan-11 2:02
mvePIEBALDconsult24-Jan-11 2:02 
AnswerRe: what is wrong with this code? [modified] Pin
Stefan_Lang30-Jan-11 23:54
Stefan_Lang30-Jan-11 23:54 
QuestionRetaining whitespace within macro replacement text Pin
PIEBALDconsult22-Jan-11 4:17
mvePIEBALDconsult22-Jan-11 4:17 
AnswerRe: Retaining whitespace within macro replacement text Pin
Andrew Brock22-Jan-11 4:38
Andrew Brock22-Jan-11 4:38 
GeneralRe: Retaining whitespace within macro replacement text Pin
PIEBALDconsult22-Jan-11 9:00
mvePIEBALDconsult22-Jan-11 9:00 
GeneralRe: Retaining whitespace within macro replacement text Pin
jschell22-Jan-11 12:01
jschell22-Jan-11 12:01 
PIEBALDconsult wrote:
Not a very compelling one, in my opinion.


Macros exist to provide some specific functionality in C and C++. They don't exist to meet every possible known need. Myself I am comfortable with the notion that the authors of those languages and the numerous others who contributed to the ANSI specifications did in fact give due consideration to what it should do an what it shouldn't do. Given the extensive years of scrutiny and use that resulted from that I would suspect that your "compelling one" isn't very.

I am pretty sure that the creators of C and C++ were comfortable with the notion that if someone wanted to create their own language then they should in fact do exactly that.

And there are in fact other macro compilers. I suspect that the following provides quite a bit of functionality. And since one can in fact modify what it does you can do whatever you want with it.

http://www.gnu.org/software/m4/[^]

However, myself would not want to maintain code where someone thought that they needed to use clever tricks via the macro to achieve something. The vast majority of time clever tricks increase the cost of code maintenance.
GeneralRe: Retaining whitespace within macro replacement text Pin
PIEBALDconsult22-Jan-11 18:06
mvePIEBALDconsult22-Jan-11 18:06 

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.