Click here to Skip to main content
15,892,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do I know the size of the char for ReadFile before reading the actual file. [modified] Pin
luisgrimaldo27-Aug-08 11:17
luisgrimaldo27-Aug-08 11:17 
AnswerRe: How do I know the size of the char for ReadFile before reading the actual file. Pin
led mike27-Aug-08 11:47
led mike27-Aug-08 11:47 
GeneralRe: How do I know the size of the char for ReadFile before reading the actual file. Pin
luisgrimaldo27-Aug-08 12:04
luisgrimaldo27-Aug-08 12:04 
GeneralRe: How do I know the size of the char for ReadFile before reading the actual file. Pin
David Crow28-Aug-08 4:06
David Crow28-Aug-08 4:06 
QuestionNeural Network Function Estimation Pin
Ehsan Baghaki27-Aug-08 10:07
Ehsan Baghaki27-Aug-08 10:07 
QuestionSetting menu item disabled state problem Pin
nick0122327-Aug-08 8:12
nick0122327-Aug-08 8:12 
QuestionRe: Setting menu item disabled state problem Pin
Mark Salsbery27-Aug-08 8:54
Mark Salsbery27-Aug-08 8:54 
AnswerRe: Setting menu item disabled state problem Pin
nick0122327-Aug-08 9:06
nick0122327-Aug-08 9:06 
Yes, didn't work either.

But, literally this minute I've fixed it.

Was using WM_MENUSELECT instead of WM_INITMENUPOPUP as the trigger for the updating. Must occur at a different time, and greying must be different to check marks, because what was happening was the greying didn't work, but if while the menu was down you quickly moved the mouse off the menu (ie off the menu window) - it rapidly updated to the greyed state. Use WM_INITMENUPOPUP and it works all the time.

Must be to do with idle time processing.

Thanks for your help.
GeneralRe: Setting menu item disabled state problem Pin
Mark Salsbery27-Aug-08 9:13
Mark Salsbery27-Aug-08 9:13 
GeneralRe: Setting menu item disabled state problem Pin
nick0122327-Aug-08 9:40
nick0122327-Aug-08 9:40 
AnswerRe: Setting menu item disabled state problem Pin
led mike27-Aug-08 9:09
led mike27-Aug-08 9:09 
GeneralRe: Setting menu item disabled state problem Pin
Mark Salsbery27-Aug-08 9:11
Mark Salsbery27-Aug-08 9:11 
GeneralRe: Setting menu item disabled state problem Pin
led mike27-Aug-08 9:31
led mike27-Aug-08 9:31 
GeneralRe: Setting menu item disabled state problem Pin
Mark Salsbery27-Aug-08 9:37
Mark Salsbery27-Aug-08 9:37 
QuestionCAVI "bitmap" colors - reserved value question Pin
Vaclav_27-Aug-08 8:00
Vaclav_27-Aug-08 8:00 
AnswerRe: CAVI "bitmap" colors - reserved value question Pin
Mark Salsbery27-Aug-08 8:05
Mark Salsbery27-Aug-08 8:05 
GeneralRe: CAVI "bitmap" colors - reserved value question Pin
Vaclav_27-Aug-08 8:22
Vaclav_27-Aug-08 8:22 
GeneralRe: CAVI "bitmap" colors - reserved value question Pin
Mark Salsbery27-Aug-08 8:49
Mark Salsbery27-Aug-08 8:49 
GeneralRe: CAVI "bitmap" colors - reserved value question Pin
Vaclav_28-Aug-08 11:45
Vaclav_28-Aug-08 11:45 
QuestionRe: CAVI "bitmap" colors - reserved value question Pin
Mark Salsbery29-Aug-08 5:24
Mark Salsbery29-Aug-08 5:24 
Questioncopy/past column from excel file to an other one Pin
zdoucha27-Aug-08 7:43
zdoucha27-Aug-08 7:43 
AnswerRe: copy/past column from excel file to an other one Pin
David Crow27-Aug-08 8:14
David Crow27-Aug-08 8:14 
QuestionPreprocessor confusion Pin
s196675m27-Aug-08 6:42
s196675m27-Aug-08 6:42 
AnswerRe: Preprocessor confusion Pin
Mark Salsbery27-Aug-08 7:08
Mark Salsbery27-Aug-08 7:08 
AnswerRe: Preprocessor confusion Pin
Cedric Moonen27-Aug-08 7:40
Cedric Moonen27-Aug-08 7:40 

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.