Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: programmer Pin
CPallini16-Jan-08 10:42
mveCPallini16-Jan-08 10:42 
GeneralRe: programmer Pin
Hamid_RT16-Jan-08 18:10
Hamid_RT16-Jan-08 18:10 
GeneralRe: programmer Pin
David Crow15-Jan-08 7:25
David Crow15-Jan-08 7:25 
QuestionRe: programmer Pin
Maximilien15-Jan-08 8:11
Maximilien15-Jan-08 8:11 
GeneralIs it possible to link two projects together? [modified] Pin
rover_boy15-Jan-08 5:09
rover_boy15-Jan-08 5:09 
GeneralRe: Is it possible to link to projects together? Pin
Hamid_RT15-Jan-08 6:57
Hamid_RT15-Jan-08 6:57 
GeneralRe: Is it possible to link two projects together? Pin
Iain Clarke, Warrior Programmer16-Jan-08 0:16
Iain Clarke, Warrior Programmer16-Jan-08 0:16 
QuestionCheck marks on menu options not showing in Windows Vista Pin
Anthony Appleyard15-Jan-08 3:07
Anthony Appleyard15-Jan-08 3:07 
For a long time I made Windows programs using a Borland C++ 4.5 compiler winning under Windows 98. To make or remove check marks on menu choices I used this macro:

#define OPTION(x,y) case x: y=1-y; CheckMenuItem (mainmenu, x, MF_BYCOMMAND | (y ? MF_CHECKED : MF_UNCHECKED)); goto RD;

where:
x is a menu option.
y is a variable.
RD is a label where are statements to redraw the screen.

in a program called Listitem, and it worked, and the check marks duly appeared and disappeared. But when compiled on my new Windows Vista computer using Visual C++ 2008 free download version, it does not work, and the check marks do not appear. But the check marks do appear when I run on my new computer my program Listitem's old .exe file which was compiled on my old computer.

I tried using SetMenuItemInfo() instead, as recommended in http://msdn2.microsoft.com/en-us/library/ms647619.aspx[^], and still the check marks did not appear.

Please what must I do to make the check marks appear?
GeneralRe: Check marks on menu options not showing in Windows Vista Pin
Iain Clarke, Warrior Programmer15-Jan-08 22:03
Iain Clarke, Warrior Programmer15-Jan-08 22:03 
GeneralRe: Check marks on menu options not showing in Windows Vista Pin
Anthony Appleyard16-Jan-08 0:38
Anthony Appleyard16-Jan-08 0:38 
QuestionA macro to check if CLR is enabled in MFC project Pin
Mushtaque Nizamani15-Jan-08 2:31
Mushtaque Nizamani15-Jan-08 2:31 
GeneralRe: A macro to check if CLR is enabled in MFC project Pin
David Crow15-Jan-08 2:47
David Crow15-Jan-08 2:47 
GeneralRe: A macro to check if CLR is enabled in MFC project Pin
Mark Salsbery15-Jan-08 6:29
Mark Salsbery15-Jan-08 6:29 
GeneralRe: A macro to check if CLR is enabled in MFC project Pin
Mushtaque Nizamani16-Jan-08 2:32
Mushtaque Nizamani16-Jan-08 2:32 
GeneralRe: A macro to check if CLR is enabled in MFC project Pin
Mark Salsbery16-Jan-08 6:46
Mark Salsbery16-Jan-08 6:46 
Generala good activex control to develop multimedia programs quickly Pin
francisjmj15-Jan-08 2:26
francisjmj15-Jan-08 2:26 
GeneralRe: a good activex control to develop multimedia programs quickly Pin
Iain Clarke, Warrior Programmer15-Jan-08 4:51
Iain Clarke, Warrior Programmer15-Jan-08 4:51 
GeneralCounting threads Pin
softwaremonkey15-Jan-08 0:41
softwaremonkey15-Jan-08 0:41 
GeneralRe: Counting threads Pin
Matthew Faithfull15-Jan-08 0:55
Matthew Faithfull15-Jan-08 0:55 
GeneralRe: Counting threads Pin
softwaremonkey15-Jan-08 3:58
softwaremonkey15-Jan-08 3:58 
QuestionRe: Counting threads Pin
Hamid_RT15-Jan-08 3:57
Hamid_RT15-Jan-08 3:57 
Generalmonitor page fault Pin
George_George14-Jan-08 23:19
George_George14-Jan-08 23:19 
GeneralWinHTTP problem Pin
Eikthrynir14-Jan-08 22:22
Eikthrynir14-Jan-08 22:22 
Questionhow to get ip address from host name? Pin
josip cagalj14-Jan-08 22:20
josip cagalj14-Jan-08 22:20 
AnswerRe: how to get ip address from host name? Pin
CPallini14-Jan-08 23:13
mveCPallini14-Jan-08 23:13 

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.