On 21 October, Daniel Keene wrote:

> If I'm not mistaken, you got that code from the MFC classes in the menu 
> builder.
> I should have put in a better description of what I was meaning:

Well, actually, I just opened a project I am working on, added the line about 
the separator, compiled the code, and found that it worked. I admit that I was 
wondering about the context you were working in:

> MENU1 Menu DISCARDABLE
> {
>     POPUP "&File"
>
>          {
>               MENUITEM "&Open",  MENU_FILE_ID_OPEN
>               MENUITEM "&Close",  MENU_FILE_ID_CLOSE
>               MENUITEM "&Save",   MENU_FILE_ID_SAVE
>          }  // End of File Popup
>
>     POPUP "&Help"
>          {
>
>               MENUITEM "&About",    MENU_HELP_ID_ABOUT
>               MENUITEM "&Display",  MENU_HELP_ID_DISPLAY
>          }  // End of About Popup
>
> }
>
> You would still then have to put the correct info into an .RC and .H file, as 
> well as
> assign the menu to the particular window or window class.  I am not using any 
> MFC
> or automated Wizards in any of this.  I will see if I can make that 
> MF_SEPARATOR
> work but I'm gussing it won't without adding the MFC classes.
>
> Thanks for your input though.

You're welcome. The above looks like part of an .RC file. If so, just add the 
following line to create a separator:

        MENUITEM SEPARATOR

Regards,

Anand Shraddhan


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/EbFolB/TM
--------------------------------------------------------------------~-> 

>-----------------------------------------~-~>
CHECK THE ARCHIVE BEFORE POSTING!!!! Archive is available at 
http://www.eScribe.com/software/C-Paradise/

>------------------------------------------_->


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/C-Paradise/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to