Migrating from eVC++4.0 to VS2008: Menu Bar not coming for class inherited from CProterty sheet

We are migrating code developed in eVC++4.0 to Visual Studio 2008. We are facing a Problem as descripted below. We are using Pocket PC 2003 emulator.
We are creating a class inherited from CPropertySheet. As below:
In Header File:
class COptionsSheet :
public CPropertySheet
      DECLARE_DYNAMIC(COptionsSheet)
#if(WINVER == 0x400)// This works for MenuBAr inherited from CDialog classes.
      CCommandBar m_cb;
#else
      CCeCommandBar m_cb;
#endif
public:
virtual BOOL OnInitDialog();
We are drawing menu bar on the property window as below:
In .CPP file:
IMPLEMENT_DYNAMIC(COrderSheet, CPropertySheet)
BEGIN_MESSAGE_MAP(COrderSheet, CPropertySheet)
ON_COMMAND(ID_CUSTOMER_COLLECTPAYMENT, OnCustomerCollectpayment)
ON_WM_INITMENUPOPUP()
ON_NOTIFY(GN_CONTEXTMENU, 0, OnContextMenu)
END_MESSAGE_MAP()
BOOL COrderSheet::OnInitDialog()
BOOL bResult = CPropertySheet::OnInitDialog();
m_cb.Create(this);//This we have changed for VS 2008 as menu was not appearing for class inherited from CDialog class as well. In eVC++
4.0 code we have used. Please see m_cb in header file discription
m_cb.InsertMenuBar(IDR_ORDER1);// This calis unable to draw mwnu bar
CMenu *pMenu = CWnd::GetMenu();
//pMenu becomes NULL in very next line as we are passing it as parameter below.
gPromotion.LoadSalesPromotions(pMenu,
"Sales", SRC_TRACE_START);
We tried this as well but it’s also not working:
CMenu *pMenu = new CMenu;
      BOOL cehckStatus = pMenu->LoadMenu(IDR_ORDER1);
SetMenu(pMenu);
      CRect r;  GetWindowRect(&r);
      r.bottom += GetSystemMetrics(SM_CYMENU);
      MoveWindow(r);
Do we have to change or add something more for the menu bar in case of Property Sheet. Is there any change between eVC++ and Visual studio 2008 that we need to incorporate here.

This forum is for POSReady. Please try one of the Windows CE forums:
http://social.msdn.microsoft.com/Forums/en-US/category/windowsembeddedcompact
-Sean
www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

Similar Messages

  • Memory managment for classes inheriting from PObject.

    Hey, I have a class that inherits form PObject, and im not sure how to manage the memory for it. In profiles, it shows up as leaks, so im sure im doing something wrong.
    First, how do i figure our what type of PObject it is (Transient or Persistent)
    .typ file looks like this:
    CASE=LOWER
    TYPE ist
    TYPE istt
    table looks like:
    desc ITEM;
    Name Null Type
    .. other types ...
    STAT_ARRAY STAT_VA()
    when inserting in code:
    std::vector<ist*> stats;
    for (...)
    ist* itemStatType = new ist;
    itemStatType->setstat_id(123);
    itemStatType->setstat_value(123);
    stats.push_back(itemStatType);
    static std::string sqlTypeName("STAT_VA");
    setVector(statement, 16, stats, "SCHEMA", sqlTypeName);
    statement->execute()
    and we never delete what we have new'ed, under the assumption that occi has taken ownership.
    If this is not correct, when is the correct time to delete the values? (safely?) After statement->execute() ?
    Edited by: anderse on Dec 15, 2011 8:47 AM

    You probably didn't define draw() with the exactsame
    method signatureBelieve me I did :) This was the first thing I
    checked when I saw this error for the first time...
    Any other suggestions? :)The possibilities that I can think of are (most of these have already been suggested):
    1. you didn't define draw with the correct signature
    2. you're not extending the class you think you're extending
    3. you're not compiling the class you think you're compiling
    4. there's a bug in your compiler
    I'd say 3 is extremely unlikely. So without seeing your code, we can only guess, but I would guess #1.

  • Should I define tables in the CSS file or from the Table option on the menu bar?

    I am having trouble understanding which table definitions are the ascendant ones: the CSSfile table definitions or the definitions from the Table option on the menu bar. Is there a conflict if I am applying the CSS style to every topic? Who wins...CSS or Table?

    Hi there
    Sorry, but I think you are a bit confused. I'm assuming here that you are referring to defining tables via the toolbar? Where you use this button?
    That simply inserts the table structure which is later styled using CSS.
    Then there is the other option where you click Table > Insert > Table and you do two things. You insert the table structure as well as some special CSS codes that are added to your CSS file.
    Cheers... Rick

  • Message Code STA1-217 - Menu bar not created

    Hello,
    I have developed one report and in that i am getting the below message in "Code Inspector".
    "Message Code STA1-217 - Menu bar not created"
    I tried to delete the menu bar from pf status but still getting the same message.
    I have searched it on Google but did not get correct hit.
    Any suggestion/help in this regard will be appreciated.
    Thanks & regards,
    Rahul

    Moderator message - Welcome to SCN
    Please post in the correct forum. I'll move it for you.
    Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers] before posting again.
    Rob

  • Menu bar not appears in some applications.

    Hi, all!
    I have a strange problem and really need help:
    top menu bar not appears, when i start some applications.
    For example, Numbers, keynote, quicktime and, in the end, Finder!
    Problem solves when i replace the .app file of the application with the file from another computer, but it appears again with another application. No errors, no messages, just no menu bar in the top.
    I don't know why it happens and don't know how to diagnose this problem.

    Sometimes something as simple as restarting the computer will resolve system quirks. If that does not work, boot from your install disc & run Repair Disk from the utility menu. To use the Install Mac OS X disc, insert the disc, and restart your computer while holding down the C key as it starts up.
    Select your language.
    Once on the desktop, select Utility in the menu bar.
    Select Disk Utility.
    Select the disk or volume in the list of disks and volumes, and then click First Aid.
    Click Repair Disk.
    Restart your computer when done.
    Repair permissions after you reach the desktop-http://docs.info.apple.com/article.html?artnum=25751

  • Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8  years, and no longer have password.  Any ideas how I can re-access/recover that music?

    Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8  years, and no longer have password.  Any ideas how I can re-access/recover that music?

    Apple ID FAQs  >  http://support.apple.com/kb/HT5622

  • HT1338 I have iMac 105.8 and want to upgrade to Snow Leopard, so got the disc from apple on line store and it will not install, just keeps ejecting from my desktop

    I have iMac 105.8 and want to upgrade to Snow Leopard, so got the disc from apple on line store and it will not install, just keeps ejecting from my desktop

    You have entirely too little free space on the boot drive, for best performance it's best to have hard drives only 50% filled max and never more than 80% filled.
    See Storage Drive here and reduce some space also make a seperate bootable clone backup of all your data BEFORE upgrading
    Most commonly used backup methods
    see here for how to find your disk space
    Why is my computer slow?
    If you upgrade and it doesn't go right or slows the machine down you might need to erase and install, which all your programs will have to be reinstalled from original sources and files from backup.
    How to erase and install Snow Leopard 10.6
    If you can't do this, then hire a local PC/Mac specialist.
    Do not upgrade to 10.7 or 10.8 on that older machine, it will slow down and you will lose all your PPC based programs.
    Leave the Lions for a brand new machine with a SSD drive.

  • Error editing task sequence: Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" From XML into WMI

    I've started getting an intermittent error editing my Windows 7 OSD task sequence.  Sometimes I can open the TS to edit, but when I try to apply changes I get the error.  Other times I get the error when trying to open the TS.  If I try again
    right away, I still get the error, but if I wait a few minutes and try again sometimes it will open the TS. 
    The error reads:
    ConfigMgr Error Object:instance of SMS_Extended Status{Description = "Failed to load dynamic properties for class \"SMS_TaskSequence_ApplyWindowsSettingsAction\" from XML into WMI";Error Code = 2147943746;File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\ssptspackage.cpp";Line = 3454;Operation = "ExecMethod";ParameterInfo = "SMS_TaskSequencePackage";ProviderName = "WinMgmt";StatusCode = 2147749889;}
    Coinciding with this error, I show the following entries in the TaskSequenceProvider.log file: 
    [PID: 7608] Invoking method SMS_TaskSequence.LoadFromXml
    TaskSequenceProvider
    Failed to protect memory buffer, hr=0x80070542
    TaskSequenceProvider
    Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load node Apply Windows Settings from XML into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "PostInstall" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "Execute Task Sequence" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load children steps for node "" from XML 0x80070542 (2147943746)
    TaskSequenceProvider
    Failed to load XML for the task sequence into WMI 0x80070542 (2147943746)
    TaskSequenceProvider
    [PID: 7608] Done with method SMS_TaskSequence.LoadFromXml
    TaskSequenceProvider
    Setting status complete:  status code = 0x80070542; Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI
    TaskSequenceProvider
    I exported the task sequence and checked in "object.xml" for the "ApplyWindowsSettingsAction", to see if there was something odd in the xml, but I don't find anything that jumps out as being wrong.  Here's the section of XML for
    that step.  I've removed identifying info, and replaced it with a generic term in bold.
    <step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="" runIn="WinPE" successCodeList="0" runFromNet="false"><action>osdwinsettings.exe /config</action><defaultVarList><variable name="OSDLocalAdminPassword" property="AdminPassword"></variable><variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable><variable name="OSDProductKey" property="ProductKey"></variable><variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable><variable name="OSDRegisteredOrgName" property="RegisteredOrgName">COMPANY NAME</variable><variable name="OSDRegisteredUserName" property="RegisteredUserName">COMPANY NAME</variable><variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable><variable name="OSDTimeZone" property="TimeZone">Central Standard Time</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>osdnetsettings.exe configure</action><defaultVarList><variable name="OSDDomainName" property="DomainName">DOMAIN.COM</variable><variable name="OSDJoinPassword" property="DomainPassword"></variable><variable name="OSDJoinAccount" property="DomainUsername">DOMAIN ACCOUNT</variable><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable><variable name="OSDNetworkJoinType" property="NetworkJoinType">0</variable><variable name="OSDAdapterCount" property="NumAdapters" hidden="true">0</variable></defaultVarList></step>
    Is there any other log I should check for a clue on this issue?  What could be causing this error?

    Thanks for sharing that!  I tend to save contacting MS support until after I've exhausted other options.  I'm always afraid that I'll spend the $500 to open a case and then it turns out to be something simple that I would have found if I had just
    kept working on it myself a little longer.
    It looks like that link is for an update released in February as KB3023562.  I downloaded and installed it. I'll try opening/editing/saving the task sequence a few times today to see if the issue is resolved.  
    After I had already installed it, I thought to look up that update in configmgr.  The update is listed as superseded by 2 other updates.  The newest of those is KB3046049, which just installed last night with the other March patches, so it's possible
    that I didn't need to install KB3023562 after all.  

  • The stack sub menu does not enable for stacked photos in elements organizer 13 on windows 8.1

    The stack sub menu does not enable for stacked photos in elements organizer 13 on windows 8.1.
    Has anyone else experienced this?
    I stacked some photos, now I cannot expand them or unstack them in the organizer.
    This is for both auto and manual stacking.

    Please press Ctrl+D to move to the older grid and now the stack option should be enabled.
    Thanks,
    Anwesha

  • HT5610 In itunes, pressing alt to display the menu bar totally worked for my windows running machine but I CANNOT get the menu bar to show in itunes on my imac.  what's with that?

    In itunes, pressing alt to display the menu bar totally worked for my windows running machine but I CANNOT get the menu bar to show in itunes on my imac.  what's with that?

    You got me experimenting ... and it was viewing the display with the green button (rather than amber) on the left that revealed the menu bar.  Hovering didn't do it.  Thanks for your help.  First time in Apple Support.

  • Rates being redetermined. Form not received for delivery 0040008146 from 00

    Hi ! All,
               I m creating a Export Proforma Invoice ( It is a copy of Billing Type JEX ) with respect to a delivery , I am getting the following error-
    Rates being redetermined. Form not received for delivery 0040008146 from 0000000012
    Message no. 8I642
    Diagnosis
    Excise rates are being re-determined. This is becuase you have not received the Concession form for the delivery document & yet from the customer &
    System Response
    System will apply the normal excise duty rates and generate an excise invoice
    Procedure
    In case you have forgotten to record the receipt of the Forms please do so in Forms tracking for the Sales order and delivery.
    Please analyse and let me know what is possible solution.
    Regards,
    Ashutosh

    I feel the process what you had narrated itself is wrong.
    It seems some zee table is developed wherein, the users should maintain data related to some concession forms which I feel should be applicable to domestic sales.
    Apart from the above, for exports, I dont know why you were generating proforma copying billing type JEX.  You were supposed to copy F5 (order related proforma) or F8 (delivery related proforma).
    Since in your case, you have indicated that you have generated against a delivery, you should copy F8 billing type and maintain copy control accordingly in VTFL.
    Last but not least, the message number also seems to be not a standard one.
    thanks
    G. Lakshmipathi

  • Why is the Time Machine icon in menu bar not spinning when backing up? It stop working when I changed to Maverick.

    Why is the Time Machine icon in menu bar not spinning when backing up? It stop working when I changed to Maverick.

    my imac came with lion and don't think it ever span with lion and mtn lion and now maverick not sure if it's a setting

  • Please can someone provide me with Spry Menu Bar Horizontal code for Dreamweaver CS5.5?

    Please can someone provide me with Spry Menu Bar Horizontal code for Dreamweaver CS5.5?

    Log-in to the Adobe Exchange with your Widget Browser and grab "Spry Menu 2.0."
    http://labs.adobe.com/technologies/widgetbrowser/
    In Widget browser, style the menu as desired and Save files to your DW Local Site folder.
    Nancy O.

  • How do I remove items from the right side of the menu bar in Lion?  I'm speaking of old software items that I have deleted but still have an icon there.  Holding the "Command" key and dragging them out doesn't work.

    I have icons left over from trial software I have deleted in my menu bar and can't get rid of them.  I've tried dragging them out while holding down the "Command" or "Control" keys but that didn't work.

    I have icons left over from trial software I have deleted in my menu bar and can't get rid of them.  I've tried dragging them out while holding down the "Command" or "Control" keys but that didn't work.

  • Spry menu bar not working in IE

    Hi there,
    This is the first time I'm using Spry.  Everything was fine until I tested the site in IE. My top menu moves position upon rollover and the submenu doesn't show at all. I looked at the forums and thought I would add the IE hack into the code, but upon doing that I saw that it was already there. I'm not sure where to go from here.  Please help, many thanks in advance!
    Update Note: I just noticed it says it's version 1.4. I did update to 1.6.  When I check for Spry updates it does say I am using 1.6, but appears to be 1.4 in the css code. Any reason why?
    Site:
    http://retouching.zeoproductions.com/
    SpryMenuBarHorizontal.css:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */ 
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */ 
    LAYOUT INFORMATION: describes box model, positioning, z-order 
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        cursor: pointer;
        width: 9.2em;
        margin: 0;
        float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        list-style-type: none;
        font-size: 20pt;
        cursor: default;
        width: 190px;
        position: absolute;
        font-weight: normal;
        text-decoration: none;
        font-family: century;
        line-height: 13px;
        letter-spacing: 2pt;
        text-align: right;
        left: -1000px;
        z-index: 1020;
        margin-top: -2%;
        margin-right: 0%;
        margin-bottom: 0%;
        margin-left: -55%;
        padding: 1px;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: 25pt;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        background-color: #E8E8E8;
        width: 190px;
        text-align: right;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts 
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #FFFFFF;
        padding: 0.5em 0.75em;
        color: #999999;
        text-decoration: none;
        font-family: century;
        font-variant: small-caps;
        font-size: 10pt;
        text-align: right;
        text-indent: 40px;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #FFFFFF;
        color: #000000;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #FFFFFF;
        color: #000000;
        left: 20px;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item 
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
        text-align: center;
        background-color: #FFFFFF;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
        white-space: nowrap;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert 
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;

    OK... what I needed was a proper update... not sure why it didn't work the first time, but now I am definitely running 1.6.  My initial problems are no longer relevant.
    However.... this created a few other obstacles. The background color, text color, text-transform, and all hover attributes are not working in IE.  Confused I am.
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        list-style-type: none; 
        font-size: 100%; 
        cursor: default; 
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */ 
    ul.MenuBarActive 
        z-index: 1000; 
    /* Menu item containers, position children relative to this container and are a fixed width */ 
    ul.MenuBarHorizontal li 
        padding: 0; 
        list-style-type: none; 
        font-size: 100%; 
        position: relative; 
        cursor: pointer; 
        width: 9.2em; 
        margin: 0; 
        float: left; 
        background-color: #FFFFFF; 
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */ 
    ul.MenuBarHorizontal ul 
        list-style-type: none; 
        font-size: 20pt; 
        cursor: default; 
        width: 190px; 
        position: absolute; 
        font-weight: normal; 
        text-decoration: none; 
        font-family: century; 
        line-height: 13px; 
        letter-spacing: 2pt; 
        text-align: right; 
        left: -1000px; 
        z-index: 1020; 
        margin-top: -2%; 
        margin-right: 0%; 
        margin-bottom: 0%; 
        margin-left: -55%; 
        padding: 1px; 
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */ 
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible 
        left: 25pt; 
    /* Menu item containers are same fixed width as parent */ 
    ul.MenuBarHorizontal ul li 
        background-color: #FFFFFF; 
        width: 190px; 
        text-align: right; 
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */ 
    ul.MenuBarHorizontal ul ul 
        position: absolute; 
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */ 
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible 
        top: 0; 
    DESIGN INFORMATION: describes color scheme, borders, fonts 
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #FFFFFF;
        padding: 0.5em 0.75em;
        color: #999999;
        text-decoration: none;
        font-family: century;
        font-size: 10pt;
        text-align: right;
        text-indent: 40px;
        text-transform: uppercase;
        font-variant: normal;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #FFFFFF;
        color: #000000;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #FFFFFF;
        color: #000000;
        left: 20px;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item 
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
        text-align: center;
        background-color: #FFFFFF;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
        white-space: nowrap;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert 
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;

Maybe you are looking for

  • Intermittent narcolepsy after MBP upgrade to Mountain Lion

    I recently upgraded my three-year-old 13" MBP from Snow Leopard to Mountain Lion. Snow Leopard was stable, but an increasing number of new apps require ML, so the upgrade seemed unavoidable. I typically do not turn the laptop off when I'm done using

  • [SOLVED] Linux 3.0: Udev events failed to load

    Hey Guys, Nothing too alarming here. Just got this boot msg after upgrading to Kernel 3.0. Loading udev events    [FAIL] I'm checking my modules right now to see if something's missing. Any idea on how I can find out what failed? Thanks. Last edited

  • Adding Metadata in pages for an epub

    Hi I am going to use Pages to create and epub for itunes and kindle. One thing I cannot find is where to add a more comprehensive metadate, like ISBN etc. Can this be done in Pages? Regards

  • Can I disable the subwoofer in my macbook pro?

    The subwoofer on the right side is cracking and rattling. I know that you can fade the audio to the left but the actual right speaker isn't having an issue, it is just the subwoofer (which cannot be individually turned off in the speaker menu). I was

  • No print preview in PSE13

    I have used previous versions; so I know the printing process.  But with the download of PSE 13, I have had several problems.  The latest is the print preview.  It is blank.  What can I do to get the print preview?