Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General10x Pin
10-Jun-02 13:55
suss10-Jun-02 13:55 
GeneralDuplicate insert block Pin
Stew10-Jun-02 12:07
Stew10-Jun-02 12:07 
GeneralRe: Duplicate insert block Pin
Rama Krishna Vavilala10-Jun-02 12:32
Rama Krishna Vavilala10-Jun-02 12:32 
GeneralDisable MRU file list Pin
Haakon S.10-Jun-02 11:48
Haakon S.10-Jun-02 11:48 
GeneralRe: Disable MRU file list Pin
10-Jun-02 19:40
suss10-Jun-02 19:40 
GeneralRe: Disable MRU file list Pin
Haakon S.10-Jun-02 20:37
Haakon S.10-Jun-02 20:37 
GeneralRe: Disable MRU file list Pin
Alexandru Savescu10-Jun-02 21:30
Alexandru Savescu10-Jun-02 21:30 
GeneralRe: Disable MRU file list Pin
Stephen C. Steel11-Jun-02 8:19
Stephen C. Steel11-Jun-02 8:19 
To eliminate the menu items, simply remove the ID_FILE_OPEN, ID_FILE_NEW and ID_FILE_MRU_FILE1 menu items from the the menu associated with you document template, but leave them in the default menu IDR_MAINFRAME (which is used when no document is active). You will also need to add a pair of ON_UPDATE_COMMAND_UI() handlers to your CDocument derived class to disable the ID_FILE_OPEN and ID_FILE_NEW commands when a document is active (this will prevent them being invoked via toolbar buttons or accelerator keys). When no document is active, you'll get the default behaviour (they will be enabled, since a handler function is defined).


Stephen C. Steel
Kerr Vayne Systems Ltd.
QuestionHow do i found out if multiple items is selected in my ListView control? Pin
redeemer10-Jun-02 11:29
redeemer10-Jun-02 11:29 
AnswerRe: How do i found out if multiple items is selected in my ListView control? Pin
Gary Kirkham10-Jun-02 11:40
Gary Kirkham10-Jun-02 11:40 
GeneralRe: How do i found out if multiple items is selected in my ListView control? Pin
redeemer10-Jun-02 11:36
redeemer10-Jun-02 11:36 
GeneralRe: How do i found out if multiple items is selected in my ListView control? Pin
Michael Dunn10-Jun-02 17:57
sitebuilderMichael Dunn10-Jun-02 17:57 
GeneralCalling Applicaiton functions from a DLL Pin
10-Jun-02 11:28
suss10-Jun-02 11:28 
GeneralRe: Calling Applicaiton functions from a DLL Pin
Rama Krishna Vavilala10-Jun-02 11:36
Rama Krishna Vavilala10-Jun-02 11:36 
GeneralRe: Calling Applicaiton functions from a DLL Pin
Mike Nordell10-Jun-02 12:35
Mike Nordell10-Jun-02 12:35 
GeneralpThread question in C++ Pin
ChiYung10-Jun-02 11:25
ChiYung10-Jun-02 11:25 
GeneralRe: pThread question in C++ Pin
markkuk10-Jun-02 12:06
markkuk10-Jun-02 12:06 
GeneralRe: pThread question in C++ Pin
10-Jun-02 18:34
suss10-Jun-02 18:34 
GeneralRe: pThread question in C++ Pin
markkuk11-Jun-02 6:18
markkuk11-Jun-02 6:18 
Questioncan CListCtrl show image in the subitems? Pin
rosegame10-Jun-02 8:40
rosegame10-Jun-02 8:40 
AnswerRe: can CListCtrl show image in the subitems? Pin
Gary Kirkham10-Jun-02 11:32
Gary Kirkham10-Jun-02 11:32 
GeneralTimers Pin
arthivjii10-Jun-02 8:30
arthivjii10-Jun-02 8:30 
GeneralRe: Timers Pin
Joaquín M López Muñoz10-Jun-02 9:33
Joaquín M López Muñoz10-Jun-02 9:33 
GeneralRe: Timers Pin
Paul M Watt10-Jun-02 21:44
mentorPaul M Watt10-Jun-02 21:44 
Generalthird challange to the masters of vc Pin
SilentWarrior10-Jun-02 7:43
SilentWarrior10-Jun-02 7:43 

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.