Click here to Skip to main content
16,014,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: VC++ 6.0 compiler error with adding function with struct variable??? Pin
David Crow10-Sep-04 10:24
David Crow10-Sep-04 10:24 
GeneralOverride Daylight Saving in DT Props Pin
john john mackey10-Sep-04 9:55
john john mackey10-Sep-04 9:55 
GeneralRe: Override Daylight Saving in DT Props Pin
David Crow10-Sep-04 10:30
David Crow10-Sep-04 10:30 
GeneralRe: Override Daylight Saving in DT Props Pin
john john mackey10-Sep-04 11:03
john john mackey10-Sep-04 11:03 
GeneralRe: Override Daylight Saving in DT Props Pin
phil_mchugh11-Sep-04 8:09
phil_mchugh11-Sep-04 8:09 
GeneralRe: Override Daylight Saving in DT Props Pin
john john mackey17-Sep-04 9:40
john john mackey17-Sep-04 9:40 
GeneralRe: Override Daylight Saving in DT Props Pin
john john mackey17-Sep-04 9:41
john john mackey17-Sep-04 9:41 
GeneralDefault Menu Item Pin
sschilachi10-Sep-04 9:48
sschilachi10-Sep-04 9:48 
I have the following code to set one of the menu items as a default one (it should go bold), however the menu item is not displayed bold for some reason:

MENUITEMINFO menuItemInfo;<br />
menuItemInfo.cbSize = sizeof(MENUITEMINFO);<br />
menuItemInfo.fMask = MIIM_STATE;<br />
VERIFY(pSubMenu->GetMenuItemInfo(IDC_SHOWWINDOW,&menuItemInfo));<br />
menuItemInfo.fMask = MIIM_STATE;<br />
menuItemInfo.fType = MFS_ENABLED|MFS_DEFAULT;<br />
VERIFY(pSubMenu->SetMenuItemInfo(IDC_SHOWWINDOW,&menuItemInfo));


Both GetMenuItemInfo() and SetMenuItemInfo() are successful as they return 1, but I cannot figure out why it doesn't display the menu item as bold.

Any help would be greatly appreciated

Thanks
GeneralRe: Default Menu Item Pin
Branislav11-Sep-04 3:34
Branislav11-Sep-04 3:34 
GeneralRe: Default Menu Item Pin
sschilachi11-Sep-04 6:44
sschilachi11-Sep-04 6:44 
GeneralRe: Default Menu Item Pin
Branislav12-Sep-04 0:27
Branislav12-Sep-04 0:27 
GeneralC#/C++ Interop - Nested Classes Pin
TheBlindWatchmaker10-Sep-04 7:55
TheBlindWatchmaker10-Sep-04 7:55 
GeneralN00B to VC++ Needing Help...Its probably quite simple Pin
Whiterat10-Sep-04 7:24
Whiterat10-Sep-04 7:24 
GeneralRe: N00B to VC++ Needing Help...Its probably quite simple Pin
David Crow10-Sep-04 7:40
David Crow10-Sep-04 7:40 
GeneralRe: N00B to VC++ Needing Help...Its probably quite simple Pin
Whiterat10-Sep-04 7:46
Whiterat10-Sep-04 7:46 
GeneralRe: N00B to VC++ Needing Help...Its probably quite simple Pin
Whiterat10-Sep-04 12:23
Whiterat10-Sep-04 12:23 
GeneralRe: N00B to VC++ Needing Help...Its probably quite simple Pin
Alexander M.,10-Sep-04 15:03
Alexander M.,10-Sep-04 15:03 
QuestionHow to get thread handle from thread ID? Pin
lsaturn10-Sep-04 6:39
lsaturn10-Sep-04 6:39 
AnswerRe: How to get thread handle from thread ID? Pin
David Crow10-Sep-04 7:41
David Crow10-Sep-04 7:41 
AnswerRe: How to get thread handle from thread ID? Pin
Alexander M.,10-Sep-04 14:53
Alexander M.,10-Sep-04 14:53 
Generalmeaning of (%....) in c++ Pin
mark18210-Sep-04 6:19
mark18210-Sep-04 6:19 
GeneralRe: meaning of (%....) in c++ Pin
vineas10-Sep-04 6:28
vineas10-Sep-04 6:28 
GeneralRe: meaning of (%....) in c++ Pin
mark18210-Sep-04 6:35
mark18210-Sep-04 6:35 
GeneralDiscover associated program via Windows registry Pin
MarcoNedwig10-Sep-04 6:06
MarcoNedwig10-Sep-04 6:06 
GeneralRe: Discover associated program via Windows registry Pin
David Crow10-Sep-04 7:47
David Crow10-Sep-04 7:47 

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.