I have figured out where the extra '1' and '2' lines come from in my menu.

They have something to do with class 'CMDITabs' which is a class that uses tabs 
controls to switch between views (from: 
http://www.codeproject.com/tabctrl/mditabs.asp).  I should be able to track it 
down from here.

Thanks to all who helped.
-Jean


>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Jason Teagle
>Sent: Monday, November 29, 2004 4:05 PM
>To: [EMAIL PROTECTED]
>Subject: RE: [msvc] extra menu lines
>
>
>> I have a couple of extra lines showing up in one of my menus and
>> I can't figure out how to get rid of them. They do not show up in
>> the VC++ resource editor; they only show up in the compiled
>> version of the application. They aren't in the text in the  .rc
>> file, either.
>>
>> The extra lines appear at the bottom of one drop-down menu like this:
>>      ------------------------        // (extra separator)
>>      1
>> (ck)         2
>>
>> (There is a checkmark in front of the '2')
>> It is something like a most recently used file list.  But there
>> are no file names listed.  Nothing after the '1' or '2'.
>>
>> Does anyone know what I need to do to get rid of them?  The menu
>> resource name is IDR_MAINFRAME which might have something to do
>> with the MRU-style.
>
>I don't believe the MRU list ever uses check marks, unless it is an XP
>Visual Styles thing...? Which menu is it, exactly? The File 
>menu? You don't
>mention that...
>
>Look for any calls to AppendMenu in your project, unless you can be
>confident that you know the code inside out.
>
>--
>Jason Teagle
>[EMAIL PROTECTED]
>
>
>
>_______________________________________________
>msvc mailing list
>[EMAIL PROTECTED]
>See 
>http://beginthread.com/mailman/listinfo/msvc_beg>inthread.com 
>for subscription changes, and list archive.
>

_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to