NWDS EE5 Edition Database Studio: The currently displayed page contains ...

Hello,
I get the following error when I choose 'Usermanagement" in Preferences --> Database Studio:
The currently displayed page contains invalid values
in the log file I see the following errors:
!ENTRY org.eclipse.jface 4 2 2007-02-14 10:57:02.165
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
     at com.sap.sdb.tools.usermanagement.UM_Configuration.<init>(UM_Configuration.java:83)
     at com.sap.sdb.tools.ui.usermanagement.properties.ULMPropertiesComposite.<init>(ULMPropertiesComposite.java:57)
     at com.sap.sdb.tools.ui.usermanagement.preferences.UM_PreferencePage.createContents(UM_PreferencePage.java:73)
     at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:233)
     at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1403)
     at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:1162)
     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
     at org.eclipse.core.runtime.Platform.run(Platform.java:843)
     at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
     at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
     at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1156)
     at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:439)
     at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:661)
     at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:839)
     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
     at org.eclipse.core.runtime.Platform.run(Platform.java:843)
     at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
     at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
     at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:837)
     at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1143)
     at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1163)
     at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:236)
     at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:230)
     at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:404)
     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
     at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
     at org.eclipse.jface.window.Window.open(Window.java:796)
     at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
     at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
     at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
     at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
     at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
     at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
     at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
     at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
     at org.eclipse.core.launcher.Main.run(Main.java:977)
     at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.jface 4 0 2007-02-14 10:57:07.681
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
     at com.sap.sdb.tools.ui.usermanagement.preferences.UM_PreferencePage.performOk(UM_PreferencePage.java:85)
     at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:889)
     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
     at org.eclipse.core.runtime.Platform.run(Platform.java:843)
     at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
     at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
     at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:869)
     at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:377)
     at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.okPressed(WorkbenchPreferenceDialog.java:164)
     at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:230)
     at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
     at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
     at org.eclipse.jface.window.Window.open(Window.java:796)
     at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
     at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
     at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
     at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
     at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
     at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
     at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
     at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
     at org.eclipse.core.launcher.Main.run(Main.java:977)
     at org.eclipse.core.launcher.Main.main(Main.java:952)
Any ideas?
Thanks in advance
Holger

So you're saying that whatever you use to output the <pre> tag, it's escaping it into &lt;pre&gt; because it thinks it's supposed to be text and not markup? Then use that thing differently. It's hard to say more without seeing the code you're using.

Similar Messages

  • The new ribbon user interface in Win 8.1 should display appropriate buttons depending on the currently displayed folder within the explorer.exe window.

    To begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window. 
    But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
    You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
    is a great little app that  gives me a tabbed file-explorer experience.
    Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
    to pull a file explorer session into its tabbed control.
    This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
    Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
    In the address bar go to This PC,
    then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
    Does anyone out there feel that they can do something about this, or have advise?
    Kind regards,
    Robert van der Meijden

    To begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window. 
    But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
    You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
    is a great little app that  gives me a tabbed file-explorer experience.
    Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
    to pull a file explorer session into its tabbed control.
    This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
    Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
    In the address bar go to This PC,
    then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
    Does anyone out there feel that they can do something about this, or have advise?
    Kind regards,
    Robert van der Meijden

  • Can I recover the database to the current time using a backup control file?

    Can I recover the database to the current time using a backup control file? How far can I recover this database?
    I have an Oracle 10g(10.2.3) database on RHEL4.3 system.
    I have lost all the current control files and all the online redo logs, archived redo logs and all other files are OK.
    Now I have to recovery this database using a backup control file.
    Can I recover the database without any data lost?

    If
    a) it was a Shutdown Abort or an Instance Crash (i.e. backgrounds died on detecting loss of redo logs),
    b) redo logs are lost
    c) data files are intact
    You'd have to
    a) Restore datafiles
    b) Do an Incomplete Recovery to the last available ArchiveLog
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Blueray drive on Envy the content is not allowed to play in the current display mode.

    HP Envy 17 Notebook PC
    Windows 7 64 bit
    When I play a blueray disc  I get the following message:
    The content is protected.
    The content is not allowed to play in the current display mode.
    I am trying to run it in HP media smart on my pc monitor.
    I have the same message before and after I updated the media smart software.
    I am running version 4.1.2.5219

    This should be an easy one. Press the "Windows" and "P" key at the time and choose projector only when the monitor is plugged in.
     If you want to have both on then you need to use SlySoft to remove the HDCP protocols in Media Smart and the movie, but that's not free.
     Here it is if you want it.
     http://www.slysoft.com/en/anydvd.html
     If you are still having problems with that version of Media Smart, then there is a newer one available.
     Even better, Cyberlink Power DVD10 is available for free for HP owners.
     Post again if you need the links.

  • Query all applications that are connected to database in the current time

    Dears,
    I need to query all applications that are connected to database in the current time. I tried using v$session but i could not reach through it to the application that are logged now to database.
    As example, i connect to DB through Web Application and tried to search in v$session to can see Web Application session but i did not see it :(
    From searching in google, found that there is a package named "DBMS_APPLICATION_INFO". I expected that it can help me in my request but i could not use it.
    Please, advise me. Is this package help cover my requirements or there is another method ?
    Thanks & Best regards,

    sybrand_b,
    I think that i appreciated you once you replied me and what i wanted exactly from you "Provide me Link help me more for investigation" and you did not provide something.
    Where is the documentation that i could not read it !!!!!!
    FYI, you are not the only one that have information_
    Anyway ,as usual i will reply you in polite way.
    Thanks and i will not have more input here with you !!!
    Dear All,
    Sorry for wasting your time to read this but i had to reply.
    Please, if any one have more information regarding my issue, it will be highly appreciated.
    Really , thanks all for support.
    Thanks & Regards,

  • Name of the current printed page, page-window

    Hello,
    I need to determine the position of the currently printed page-window during runtime in the form. For that I need the name of the currently printed page. How can I retrieve this name during runtime in the form? Are there system variables? Any Idea?
    Regards, Lars.

    Hi Lars,
       Types of symbols
    Check out these standard script symbols for System variable Display
    Symbols are indentified by name surrounded by "&" and are not case sensitive.
    System symbols
    DATE Date
    DAY Day
    NAME_OF_DAY Name of day
    MONTH Month
    YEAR Year
    TIME Time
    HOURS Hours
    MINUTES Minutes
    SECONDS Seconds
    PAGE Page number
    NEXTPAGE Number of next pagre
    DEVICE Output device
    SPACE Blank space
    ULINE Underline
    VLINE Vertical line
    Reward points if this helps.
    Manish
    Message was edited by: Manish Kumar

  • Detecting the current tab page

    Hello All,
    I am working on a task for our current project which requires that I correctly identify the
    current tab page selected on the user's page.
    Toward that, I was passed some information about the function:
    wwpob_api_page
    function get_selected_tabs( p_pageid in number,
    p_store in wwsto_api_session,
    p_tabstring in varchar2,
    p_tabviewprivs in out wwsbr_type.boolarray,
    p_pages in out page_table,
    p_base in boolean
    return varchar2;
    which appeared in version 3.0.6.X.
    I was unable to locate this function in the 3.0.7 / 3.0.8 api installed on our machine, but since I
    only have access to view the public interface of this package, and wondered if this function was
    still available.
    Has the function been moved, or included elsewhere, or deleted?
    The success of this task depends on having a reliable way to determine which tab page is
    currently selected/viewable.
    Is there another / better method for accomplishing this?
    Any help would be most appreciated.
    Stuart Dautrich

    That isn't a supported API yet. I'm not aware of any current functionality that will allow you to find the current tab.

  • How do I close the current web page in Safari?

    UPgraded to IOS 8 because a friend said it cured his problems, so I took the plunge.
    BIg mistake.
    THis question concerns Safari.
    how do I close the current web page?

    I just found how to do this on my iPad!  At the top right are two squares overlapping.  Click on that and you will get your page hanging in space.  There is an X on the top (I think) left.  Click on that and TaDa!  Lost of hoops, but glad I found it.

  • I am running XP SP2 fully patched. I recently upgraded to 3.6.3 and since then, clicking on an icon that normally would open another windows (for example, a printer-friendly version of the current web page), nothing happens. In these situations, I have be

    I am running XP SP2 fully patched. I recently upgraded to 3.6.3 and since then, clicking on an icon that normally would open another windows (for example, a printer-friendly version of the current web page), nothing happens. In these situations, I have been forced to go to IE or Crome in order to accomplish what I need to do. Very frustrating. Also clicking in the slider area has no effect. "Page Up" and "Page Down" keys work. Holding down left mouse button on slider works. Also very frustrating. Can someone help
    == This happened ==
    A few times a week
    == Upgraded to 3.6.3.

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • URL of the current portal page loaded using Javascript ?

    Hello:
    I am trying to add programmatically the url of the current
    page loaded in the portal to the 'Favorites List'. There
    is a pre-built KM iview to store your 'favorites'.
    I can extract and write to this 'favorites' using KM java
    API. But only challenge is to extract the current loaded
    page URL and title using Javascript.
    I would appreciate any help in this regard.
    Thank you very much,
    Prasad Nutalapati

    Dude i was having the exact same problem. I solved it using the SAP-provided EPCM (javascript client framework).
    Javascript Code
    var pageName = "";
    var URL = "";
    function bookmarkPage()
         /* page url */
         var fullURL = "https://<%=request.getServerName()%>/irj/portal?NavigationTarget=" + URL;
         /* IE bookmark */
         if(EPCM.getUAType() == EPCM.MSIE)
              window.external.AddFavorite(fullURL , pageName);
         else
              var msg = "Sorry. The \"Add To Favorites\" feature only works with Internet Explorer. " +
                          "The URL to this page is " + fullURL;
              alert(msg);
    /* get pagename from eventObject from subscribed event */
    function getPageObject(eventObj) {
        pageName = eventObj.dataObject.title;
        URL = eventObj.dataObject.URL;
    /* subscribe to event in pagetoolbar area */
    EPCM.subscribeEvent("urn:com.sapportals:navigation", "AddNavTargetAllowDuplicate", getPageObject);
    End of code
    Basically, what this does is that everytime a page loads, the innerpage, where the content is, raises an event using  the EPCM.raiseEvent() method. EPCM.subscribeEvent subscribes to an event called AddNavTargetAllowDuplicate which has an object holding the page information (i.e. page title and URL (ROLE://...)). Everytime that it notices an event raised, the function getPageObject gets called to go get data from the event object that is available globally in the framework.
    You should be able to put this code anywhere in any iview and it should work. Thou i have only tried putting it in the masthead. Try and if you still have questions please let me know.

  • How can I set up new sites to open in new pages and not over the top of the current open page?

    how can I set up new sites to open in new pages and not over the top of the current open page?

    Middle-click ''(press down mouse scroll wheel)'' <br />
    or <br />
    {Ctrl + Click} <br />
    or <br />
    Right-click and use '''''Open in a New Tab'''''

  • How to identify the current display configuration from registry?

    I wanted to read the current configuration of display from registry. Suppose, a dual output system is configured with "Extended these displays" settings then i want to know where in registry this information will be stored?
    I tried to get the info from 
    1. HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\VIDEO which gives only the display devices being registered in the system.
    2. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video which has multiple guid tags and then multiple subkeys.
    3. HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO which has multiple subkeys.
    Unable to get the right registry for this case. when multiple displays connected, then i want to know whether it is configured as extended/duplicate. 
    Please guide me if it is possible.

    There is no direct way for getting the monitor count. we need to code for each graphic card separately. 
    i found a way like below, for those of you interested in getting the exact monitor count:
    int ComputerInfo::GetRegistryValue( CSString regPath, CSString valueName, int cntIndex )
    int monCount = 0;
    BYTE pBuffer[1024];
    DWORD nMaxLength;
    CSString szSubKey = regPath;
    szSubKey = szSubKey.substr(18);
    CSString szValueName = valueName;
    DWORD rc;
    DWORD dwType;
    HKEY hOpenedKey;
    LOG_INFO ( "Registry key " << szSubKey << "\\" << szValueName );
    if( ERROR_SUCCESS == RegOpenKeyEx (
    HKEY_LOCAL_MACHINE, // handle of open key
    szSubKey, // address of name of subkey to open
    0, // reserved
    KEY_READ, // security access mask
    &hOpenedKey // address of handle of open key
    rc = RegQueryValueEx(
    hOpenedKey,
    (const char*)szValueName,
    0,
    &dwType,
    (LPBYTE)pBuffer,
    &nMaxLength );
    if( rc != ERROR_SUCCESS )
    LOG_INFO ( "Registry key " << valueName << " not found." );
    monCount = 0;
    else
    LOG_INFO ( "Monitor Count: " << CSString(pBuffer[cntIndex]) );
    monCount = pBuffer[cntIndex];
    RegCloseKey( hOpenedKey );
    else
    monCount = 0;
    return monCount;
    int ComputerInfo::GetMonitorCount()
    int fResult;
    fResult = GetSystemMetrics(SM_CMONITORS);
    LOG_INFO( "Video Output Count from System: " << fResult );
    if ( fResult == 1 )
    // I need to get the address of a few multi-monitor functions
    HMODULE user32 = GetModuleHandle ("User32.DLL");
    typedef BOOL WINAPI tEnumDisplayDevices (void*, DWORD, DISPLAY_DEVICE*, DWORD);
    tEnumDisplayDevices* fEnumDisplayDevices = (tEnumDisplayDevices*) GetProcAddress (user32, "EnumDisplayDevicesA");
    if (fEnumDisplayDevices == NULL) return false;
    // count the number of monitors attached to the system
    DISPLAY_DEVICE dd; dd.cb = sizeof(dd);
    for (DWORD dev=0; fEnumDisplayDevices (NULL, dev, &dd, 0); ++dev)
    LOG_INFO ("Device: " << dd.cb << ", " << dd.DeviceID << ", " << dd.DeviceKey << ", " << dd.DeviceName << ", " << dd.DeviceString << ", " << dd.StateFlags );
    CSString devName = dd.DeviceName;
    DISPLAY_DEVICE dd1; dd1.cb = sizeof(dd1);
    // after second call DispDev.DeviceString contains monitor's name
    EnumDisplayDevices(devName, 0, &dd1, 0);
    LOG_INFO ("Device: " << dd1.cb << ", " << dd1.DeviceID << ", " << dd1.DeviceKey << ", " << dd1.DeviceName << ", " << dd1.DeviceString << ", " << dd1.StateFlags );
    if (dd.StateFlags & DISPLAY_DEVICE_MIRRORING_DRIVER)
    LOG_INFO ("Device: " << dd.DeviceName << " is a mirroring driver device. " );
    continue;
    if (dd.StateFlags & DISPLAY_DEVICE_ATTACHED_TO_DESKTOP)
    LOG_INFO ("Device: " << dd.DeviceName << " is attached to the desktop. " );
    if ( StringUtils::StartsWith( dd.DeviceString, "Matrox", false ) )
    return GetRegistryValue(dd.DeviceKey, "ContextItem.Config", 40);
    else if ( StringUtils::StartsWith( dd.DeviceString, "NVIDIA", false ) )
    if ( !StringUtils::StartsWith( dd.DeviceString, "NVIDIA ION", false ) )
    return GetRegistryValue(dd.DeviceKey, "NV_TargetData", 0);
    else
    return GetSystemMetrics(SM_CMONITORS);
    else if ( StringUtils::StartsWith( dd.DeviceString, "Intel", false ) )
    return GetRegistryValue(dd.DeviceKey, "CurrentState", 0);
    else
    return GetSystemMetrics(SM_CMONITORS);
    else
    LOG_INFO ("Device: " << dd.DeviceName << " is not attached. " );
    LOG_INFO ( "No Devices found." );
    return 0;
    else
    LOG_INFO( "Considered Video Output Count from System. " << fResult );
    return fResult;

  • Finding out the current display mode

    Is there any API available to query the current mode
    of the current page (at least view or edit mode)?
    Suppose I have a custom item type with an associated
    function that draws the item. I might want to draw the
    item one way in edit mode and another (or maybe not at
    all) in view mode.
    I'd rather not look at the URL and find out if it
    contains "_mode=16" or not...
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

    I'm afraid looking at the URL is the only way.
    Regards,
    Jerry
    PortalPM

  • Why doesn't "Tab groups" display https pages and do tab group pages show the current web page or just a snapshot?

    I use the tab slideshow add-on because I need to see many "sites" to monitor activities so the slideshow provides that at this time. When I saw the tab group feature, I wanted to try that because that would allow me to see all the sites on one page. I created the tab group and unfortunately can't even see each tab maybe because HTTPS is not supported. Tab group doesn't seem to show the current page; just a snap shot. I just wondered if HTTPS and active paging would be supported.

    I have been wondering the same thing for the 8 years that I have been using Firefox. Also, it seems that when a printing bug is eventually fixed, a new regression bug is sometimes filed that is even worsen than the original bug that was fixed. <br />
    Example - https://bugzilla.mozilla.org/show_bug.cgi?id=454532
    I honestly feel that Mozilla doesn't have any developers with the talent to fix printing in Firefox. They should start from scratch and create all new printing code that is well documented and understandable by the current developers; then maybe they would be able to fix whatever bugs crop up with their own code, instead of being baffled by the code that Netscape created 16 to 17 years ago.

  • How to identify the current displaying card in CardLayout

    hi all,
    i have a CardLayout() containing some "cards" that are JPanels...i know i could "flip through" the "cards" by using those previous(), next(), etc...but how do i get the "name" of the card the is currently showing...
    i guess i need a function that is the reverse of show(Container parent, String name)...this show() gets the parent and the "name" of the card as parameters and show the card out...what i want to do is...to get the "name" of the card that is currently shown...
    any ideas?
    thank you very much!

    This is just a shot in the dark, but you could write a method that goes through the JPanels that are in the CardLayout calling the JPanel.isShowing() method. This may tell you whether or not the JPanel is visible. You could then link it back to the name with a corresponding string array.
    Just a thought.
    Good luck!
    Cardwell

Maybe you are looking for