Transparency in Windows

I have created a desktop Estimating program written in Java. One feature (measuring off drawings onscreen) requires a transparent window sitting over the drawing on which the user clicks the start and end points of the item to measure. I make the window transparent using the alpha component of the Color() class (e.g. setBackground(new Color(0,0,255,30))).
This works perfectly when running on a single/multiple screen on a macintosh running OS X, but the window does not appear transparent on PC's running Windows.
Can anybody tell me why and/or how to achieve this on both platforms

I would not use a transparent window at all, but take a screen shot (using Robot) and display a window with the screen shot image as the background.
edit: I vaguely remember there is a way to get translucent windows in Java. There may be an article in the news letter about it.
edit: [http://java.sun.com/developer/technicalArticles/GUI/translucent_shaped_windows/]

Similar Messages

  • How can I make a movable transparent main window (HTML, not FLEX)?

    Hi all-
    I'm new to AIR and coming up to speed quickly. I got a sample application up and running right away and was able to give it a transparent main window so that the corners are rounded and there is no window title bar.
    However, I can't figure out how to make it so the user can drag the application around their desktop when they click on it.
    I've seen a few FLEX examples of this but I have to work in HTML.
    Does anyone know how to set this up in HTML?
    Thanks,
    Nicholas

    "Works pretty much as I'd expect, except clicking and dragging one of the child controls in my window (e.g. a button) moves the whole window as well."
    Most user interface events (mouse up, down, etc.) "bubble" up from child elements to their parents. Since you are listening on the body element, your handler is called for every mouse down in the page since the body is the highest parent in the document.
    You can either:
    Attach the event listener directly to the element used to drag the window.
    Check the event target property to check whether the target of the event (the element moused) is a drag control.

  • [Solved] After watching several youtube html5 720p videos, Firefox (version 33) display or screen turns black and aero transparency in windows 7 turns opaque.

    Hello ! I just want to share something familiar with that black display or screen occurs for some people. When I watch youtube videos, I used to watch them in html5 720p videos (not flash videos, https://www.youtube.com/html5 ). I upgraded firefox to version 33. No black display when I used it. Randomly and after watching several html5 videos on youtube, aero transparency in my windows 7 turns opaque and firefox display goes all black. Firefox doesn't respond at any command. I need to kill his process in task manager in order to close it. When I open firefox again, normal display goes. To relaunch aero transparency in windows 7, I need to restart the service whose name is, I think, "Desktop Window Manager Session Manager". I use windows 7 in french and the service name is "Gestionnaire de sessions de Gestionnaire de fenetrage".
    To solve this, I upgraded my graphic driver but this didn't work. I tried to put "layers.offmainthreadcomposition.enabled" to false in "about:config" menu. No random black display but some html elements turned black for some seconds or definitely when firefox rendered web pages. I tried to uncheck "Use hardware acceleration when available" in options menu. No random black display but html5 720p videos didn't play smoothly.
    Then, I chose to watch youtube 720p videos again with flash player and no random black display and html5 720p videos played normally.
    Here are my graphic acceleration infos :
    Date du pilote 7-2-2014
    Description de la carte NVIDIA GeForce GTS 360M
    DirectWrite activé false (6.2.9200.16492)
    Fenêtres avec accélération graphique 1/1 Direct3D 11 (OMTC)
    GPU #2 active false
    ID du périphérique 0x0cb1
    ID du vendeur 0x10de
    Pilotes de la carte nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
    RAM de la carte 1024
    Rendu WebGL Google Inc. -- ANGLE (NVIDIA GeForce GTS 360M Direct3D9Ex vs_3_0 ps_3_0)
    Version du pilote 9.18.13.4052
    windowLayerManagerRemote true
    AzureCanvasBackend skia
    AzureContentBackend cairo
    AzureFallbackCanvasBackend cairo
    AzureSkiaAccelerated 0
    I hope this will be useful to solve this problem in future versions or to someone.

    This is happening to me too, I don't know if this is an Adobe Flash Player 11.5's bug or it's just my computer. All my browsers, chrome, IE9, Fox, doesn't even load anime videos. I tried reinstalling 11.5 many times, it have no effect but I use IE9 64-bit to run the videos that couldn't run. I waited 25 min for a JW player to load an episode of anime and I'm sick of it.

  • How can I disable taskbar transparency in windows 8 RTM?

    how can I disable taskbar transparency in windows 8 RTM?

    Seems to me there's very little merit in the colors of the High Contrast themes!  :-)
    Try it this way instead:
    Right-click on the desktop and choose Personalize.
    Select an Aero theme first.
    Save a new named theme with a name something like "Aero Lite"
    Navigate to the following folder and edit the .theme file just created:
    %USERPROFILE%\AppData\Local\Microsoft\Windows\Themes
    Scroll down to the [VisualStyles] section near the bottom.
    Change the Path= filename from Aero.msstyles to AeroLite.msstyles
    In Personalize, go select another theme then this theme again.
    That gives you this:
    Only downside I've seen so far with this is that when dragging and dropping things in File Explorer the icons that appear with the cursor are no longer partially transparent, so you end up have to guess just a little where you're dropping them.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Transparent child window on web-browser

    Hi All,
    I wanted to create some overlay animation on webbrowser actually.
    but before that i just check the overlay with glut library.
    but i got some problem when i run the program as follow.
    Problem is :
    when i run my java program it gives me
    Sorry, no whizzy zoomdino overlay usage!
    as it is because of
    overlaySupport = glutLayerGet(GLUT_OVERLAY_POSSIBLE);
    if (overlaySupport) {
    else
    printf("Sorry, no whizzy zoomdino overlay usage!\n");
    so how can i solve this as i have to change any display mode or what ?
    my source file are...
    File Name : nativtest.h
    Code:
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include "jni.h"
    /* Header for class nativetest */
    #ifndef _Included_nativetest
    #define _Included_nativetest
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     nativetest
    * Method:    sayHello
    * Signature: (Ljava/lang/String;)Ljava/lang/String;
    JNIEXPORT jstring JNICALL Java_nativetest_sayHello
      (JNIEnv *, jobject, jstring);
    #ifdef __cplusplus
    #endif
    #endif
    File Name :  nativtest.c
    #include "nativetest.h"     /*double quotes tells it to search current directory*/
    #include <stdio.h>
    #include "glut.h"
    #include <stdlib.h>
    #include <string.h>
    #include <math.h>      
    #include <GL/glut.h>
    JNIEXPORT jstring JNICALL Java_nativetest_sayHello(JNIEnv *env, jobject thisobject, jstring js){
         main(0, NULL);
         return js;
    typedef enum {
      RESERVED, BODY_SIDE, BODY_EDGE, BODY_WHOLE, ARM_SIDE, ARM_EDGE, ARM_WHOLE,
      LEG_SIDE, LEG_EDGE, LEG_WHOLE, EYE_SIDE, EYE_EDGE, EYE_WHOLE, DINOSAUR
    } displayLists;
    GLfloat angle = -150;  
    int moving, begin;
    int W = 300, H = 300;
    GLdouble bodyWidth = 3.0;
    int newModel = 1;
    GLfloat body[][2] = { {0, 3}, {1, 1}, {5, 1}, {8, 4}, {10, 4}, {11, 5},
      {11, 11.5}, {13, 12}, {13, 13}, {10, 13.5}, {13, 14}, {13, 15}, {11, 16},
      {8, 16}, {7, 15}, {7, 13}, {8, 12}, {7, 11}, {6, 6}, {4, 3}, {3, 2},
      {1, 2} };
    GLfloat arm[][2] = { {8, 10}, {9, 9}, {10, 9}, {13, 8}, {14, 9}, {16, 9},
      {15, 9.5}, {16, 10}, {15, 10}, {15.5, 11}, {14.5, 10}, {14, 11}, {14, 10},
      {13, 9}, {11, 11}, {9, 11} };
    GLfloat leg[][2] = { {8, 6}, {8, 4}, {9, 3}, {9, 2}, {8, 1}, {8, 0.5}, {9, 0},
      {12, 0}, {10, 1}, {10, 2}, {12, 4}, {11, 6}, {10, 7}, {9, 7} };
    GLfloat eye[][2] = { {8.75, 15}, {9, 14.7}, {9.6, 14.7}, {10.1, 15},
      {9.6, 15.25}, {9, 15.25} };
    GLfloat lightZeroPosition[] = {10.0, 4.0, 10.0, 1.0};
    GLfloat lightZeroColor[] = {0.8, 1.0, 0.8, 1.0};
    GLfloat lightOnePosition[] = {-1.0, -2.0, 1.0, 0.0};
    GLfloat lightOneColor[] = {0.6, 0.3, 0.2, 1.0};
    GLfloat skinColor[] = {0.1, 1.0, 0.1, 1.0}, eyeColor[] = {1.0, 0.2, 0.2, 1.0};
    int overlaySupport, red, white, transparent, rubberbanding;
    int anchorx, anchory, stretchx, stretchy, pstretchx, pstretchy;
    float vx, vy, vx2, vy2, vw, vh;
    float wx, wy, wx2, wy2, ww, wh;
    int fancy, wasFancy, help, clearHelp;
    void
    extrudeSolidFromPolygon(GLfloat data[][2], unsigned int dataSize,
      GLdouble thickness, GLuint side, GLuint edge, GLuint whole)
      static GLUtriangulatorObj *tobj = NULL;
      GLdouble vertex[3], dx, dy, len;
      int i;
      int count = dataSize / (int) (2 * sizeof(GLfloat));
      if (tobj == NULL) {
        tobj = gluNewTess(); 
        gluTessCallback(tobj, GLU_BEGIN, glBegin);
        gluTessCallback(tobj, GLU_VERTEX, glVertex2fv); 
        gluTessCallback(tobj, GLU_END, glEnd);
      glNewList(side, GL_COMPILE);
      glShadeModel(GL_SMOOTH);  /* smooth minimizes seeing
                                   tessellation */
      gluBeginPolygon(tobj);
      for (i = 0; i < count; i++) {
        vertex[0] = data[0];
    vertex[1] = data[i][1];
    vertex[2] = 0;
    gluTessVertex(tobj, vertex, data[i]);
    gluEndPolygon(tobj);
    glEndList();
    glNewList(edge, GL_COMPILE);
    glShadeModel(GL_FLAT);
    glBegin(GL_QUAD_STRIP);
    for (i = 0; i <= count; i++) {
    glVertex3f(data[i % count][0], data[i % count][1], 0.0);
    glVertex3f(data[i % count][0], data[i % count][1], thickness);
    dx = data[(i + 1) % count][1] - data[i % count][1];
    dy = data[i % count][0] - data[(i + 1) % count][0];
    len = sqrt(dx * dx + dy * dy);
    glNormal3f(dx / len, dy / len, 0.0);
    glEnd();
    glEndList();
    glNewList(whole, GL_COMPILE);
    glFrontFace(GL_CW);
    glCallList(edge);
    glNormal3f(0.0, 0.0, -1.0);
    glCallList(side);
    glPushMatrix();
    glTranslatef(0.0, 0.0, thickness);
    glFrontFace(GL_CCW);
    glNormal3f(0.0, 0.0, 1.0);
    glCallList(side);
    glPopMatrix();
    glEndList();
    void
    makeDinosaur(void)
    extrudeSolidFromPolygon(body, sizeof(body), bodyWidth,
    BODY_SIDE, BODY_EDGE, BODY_WHOLE);
    extrudeSolidFromPolygon(arm, sizeof(arm), bodyWidth / 4,
    ARM_SIDE, ARM_EDGE, ARM_WHOLE);
    extrudeSolidFromPolygon(leg, sizeof(leg), bodyWidth / 2,
    LEG_SIDE, LEG_EDGE, LEG_WHOLE);
    extrudeSolidFromPolygon(eye, sizeof(eye), bodyWidth + 0.2,
    EYE_SIDE, EYE_EDGE, EYE_WHOLE);
    glNewList(DINOSAUR, GL_COMPILE);
    glMaterialfv(GL_FRONT, GL_DIFFUSE, skinColor);
    glCallList(BODY_WHOLE);
    glPushMatrix();
    glTranslatef(0.0, 0.0, bodyWidth);
    glCallList(ARM_WHOLE);
    glCallList(LEG_WHOLE);
    glTranslatef(0.0, 0.0, -bodyWidth - bodyWidth / 4);
    glCallList(ARM_WHOLE);
    glTranslatef(0.0, 0.0, -bodyWidth / 4);
    glCallList(LEG_WHOLE);
    glTranslatef(0.0, 0.0, bodyWidth / 2 - 0.1);
    glMaterialfv(GL_FRONT, GL_DIFFUSE, eyeColor);
    glCallList(EYE_WHOLE);
    glPopMatrix();
    glEndList();
    void
    recalcModelView(void)
    glPopMatrix();
    glPushMatrix();
    glRotatef(angle, 0.0, 1.0, 0.0);
    glTranslatef(-8, -8, -bodyWidth / 2);
    newModel = 0;
    void
    redraw(void)
    if (newModel)
    recalcModelView();
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    glCallList(DINOSAUR);
    glutSwapBuffers();
    void
    output(int x, int y, char *string)
    int len, i;
    glRasterPos2f(x, y);
    len = (int) strlen(string);
    for (i = 0; i < len; i++) {
    glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, string[i]);
    char *helpMsg[] =
    "Welcome to zoomdino!",
    " Left mouse button rotates",
    " the dinosaur.",
    " Middle mouse button zooms",
    " via overlay rubber-banding.",
    " Right mouse button shows",
    " pop-up menu.",
    " To reset view, use \"Reset",
    " Projection\".",
    "(This message is in the overlays.)",
    NULL
    void
    redrawOverlay(void)
    if (help) {
    int i;
    glClear(GL_COLOR_BUFFER_BIT);
    glIndexi(white);
    for (i = 0; helpMsg[i]; i++) {
    output(15, 24 + i * 18, helpMsg[i]);
    return;
    if (glutLayerGet(GLUT_OVERLAY_DAMAGED) || clearHelp) {
    glClear(GL_COLOR_BUFFER_BIT);
    clearHelp = 0;
    wasFancy = 0;
    } else {
    if (fancy || wasFancy) {
    glLineWidth(3.0);
    glIndexi(transparent);
    glBegin(GL_LINE_LOOP);
    glVertex2i(anchorx, anchory);
    glVertex2i(anchorx, pstretchy);
    glVertex2i(pstretchx, pstretchy);
    glVertex2i(pstretchx, anchory);
    glEnd();
    if (wasFancy) {
    glLineWidth(1.0);
    wasFancy = 0;
    if (fancy)
    glLineWidth(3.0);
    glIndexi(red);
    glBegin(GL_LINE_LOOP);
    glVertex2i(anchorx, anchory);
    glVertex2i(anchorx, stretchy);
    glVertex2i(stretchx, stretchy);
    glVertex2i(stretchx, anchory);
    glEnd();
    if (fancy) {
    glLineWidth(1.0);
    glIndexi(white);
    glBegin(GL_LINE_LOOP);
    glVertex2i(anchorx, anchory);
    glVertex2i(anchorx, stretchy);
    glVertex2i(stretchx, stretchy);
    glVertex2i(stretchx, anchory);
    glEnd();
    glFlush();
    pstretchx = stretchx;
    pstretchy = stretchy;
    void
    defaultProjection(void)
    glMatrixMode(GL_PROJECTION);
    glLoadIdentity();
    vx = -1.0;
    vw = 2.0;
    vy = -1.0;
    vh = 2.0;
    glFrustum(vx, vx + vw, vy, vy + vh, 1.0, 40);
    glMatrixMode(GL_MODELVIEW);
    void
    mouse(int button, int state, int x, int y)
    if (button == GLUT_LEFT_BUTTON) {
    if (state == GLUT_DOWN) {
    glutSetCursor(GLUT_CURSOR_LEFT_RIGHT);
    moving = 1;
    begin = x;
    } else if (state == GLUT_UP) {
    glutSetCursor(GLUT_CURSOR_INHERIT);
    moving = 0;
    if (overlaySupport && button == GLUT_MIDDLE_BUTTON) {
    if (state == GLUT_DOWN) {
    help = 0;
    clearHelp = 1;
    rubberbanding = 1;
    anchorx = x;
    anchory = y;
    stretchx = x;
    stretchy = y;
    glutShowOverlay();
    } else if (state == GLUT_UP) {
    rubberbanding = 0;
    glutHideOverlay();
    glutUseLayer(GLUT_NORMAL);
    glMatrixMode(GL_PROJECTION);
    glLoadIdentity();
    #undef max
    #undef min
    #define max(a,b) ((a) > (b) ? (a) : (b))
    #define min(a,b) ((a) < (b) ? (a) : (b))
    wx = min(anchorx, stretchx);
    wy = min(H - anchory, H - stretchy);
    wx2 = max(anchorx, stretchx);
    wy2 = max(H - anchory, H - stretchy);
    ww = wx2 - wx;
    wh = wy2 - wy;
    if (ww == 0 || wh == 0) {
    glutUseLayer(GLUT_NORMAL);
    defaultProjection();
    } else {
    vx2 = wx2 / W * vw + vx;
    vx = wx / W * vw + vx;
    vy2 = wy2 / H * vh + vy;
    vy = wy / H * vh + vy;
    vw = vx2 - vx;
    vh = vy2 - vy;
    glFrustum(vx, vx + vw, vy, vy + vh, 1.0, 40);
    glutPostRedisplay();
    glMatrixMode(GL_MODELVIEW);
    void
    motion(int x, int y)
    if (moving) {
    angle = angle + (x - begin);
    begin = x;
    newModel = 1;
    glutPostRedisplay();
    if (rubberbanding) {
    stretchx = x;
    stretchy = y;
    glutPostOverlayRedisplay();
    void
    reshape(int w, int h)
    if (overlaySupport) {
    glutUseLayer(GLUT_OVERLAY);
    glViewport(0, 0, w, h);
    glMatrixMode(GL_PROJECTION);
    glLoadIdentity();
    gluOrtho2D(0, w, 0, h);
    glScalef(1, -1, 1);
    glTranslatef(0, -h, 0);
    glMatrixMode(GL_MODELVIEW);
    glutUseLayer(GLUT_NORMAL);
    glViewport(0, 0, w, h);
    W = w;
    H = h;
    GLboolean lightZeroSwitch = GL_TRUE, lightOneSwitch = GL_TRUE;
    void
    controlLights(int value)
    glutUseLayer(GLUT_NORMAL);
    switch (value) {
    case 1:
    lightZeroSwitch = !lightZeroSwitch;
    if (lightZeroSwitch) {
    glEnable(GL_LIGHT0);
    } else {
    glDisable(GL_LIGHT0);
    break;
    case 2:
    lightOneSwitch = !lightOneSwitch;
    if (lightOneSwitch) {
    glEnable(GL_LIGHT1);
    } else {
    glDisable(GL_LIGHT1);
    break;
    case 3:
    defaultProjection();
    break;
    case 4:
    fancy = 1;
    break;
    case 5:
    fancy = 0;
    wasFancy = 1;
    break;
    case 6:
    if (!rubberbanding)
    help = 1;
    glutShowOverlay();
    glutPostOverlayRedisplay();
    break;
    glutPostRedisplay();
    int
    main(int argc, char **argv)
    //glutInit(&argc, argv);
    glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
    glutCreateWindow("zoomdino");
    glutDisplayFunc(redraw);
    glutMouseFunc(mouse);
    glutMotionFunc(motion);
    glutCreateMenu(controlLights);
    glutAddMenuEntry("Toggle right light", 1);
    glutAddMenuEntry("Toggle left light", 2);
    glutAttachMenu(GLUT_RIGHT_BUTTON);
    makeDinosaur();
    glEnable(GL_CULL_FACE);
    glEnable(GL_DEPTH_TEST);
    glEnable(GL_LIGHTING);
    defaultProjection();
    gluLookAt(0.0, 0.0, 30.0, /* eye is at (0,0,30) */
    0.0, 0.0, 0.0, /* center is at (0,0,0) */
    0.0, 1.0, 0.); /* up is in postivie Y direction */
    glPushMatrix(); /* dummy push so we can pop on model
    recalc */
    glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, 1);
    glLightfv(GL_LIGHT0, GL_POSITION, lightZeroPosition);
    glLightfv(GL_LIGHT0, GL_DIFFUSE, lightZeroColor);
    glLightf(GL_LIGHT0, GL_CONSTANT_ATTENUATION, 0.1);
    glLightf(GL_LIGHT0, GL_LINEAR_ATTENUATION, 0.05);
    glLightfv(GL_LIGHT1, GL_POSITION, lightOnePosition);
    glLightfv(GL_LIGHT1, GL_DIFFUSE, lightOneColor);
    glEnable(GL_LIGHT0);
    glEnable(GL_LIGHT1);
    glutInitDisplayMode(GLUT_SINGLE | GLUT_INDEX);
    overlaySupport = glutLayerGet(GLUT_OVERLAY_POSSIBLE);
    if (overlaySupport) {
    glutEstablishOverlay();
    glutHideOverlay();
    transparent = glutLayerGet(GLUT_TRANSPARENT_INDEX);
    glClearIndex(transparent);
    red = (transparent + 1) % glutGet(GLUT_WINDOW_COLORMAP_SIZE);
    white = (transparent + 2) % glutGet(GLUT_WINDOW_COLORMAP_SIZE);
    glutSetColor(red, 1.0, 0.0, 0.0); /* Red. */
    glutSetColor(white, 1.0, 1.0, 1.0); /* White. */
    glutOverlayDisplayFunc(redrawOverlay);
    glutReshapeFunc(reshape);
    glutSetWindowTitle("zoomdino with rubber-banding");
    glutAddMenuEntry("------------------", 0);
    glutAddMenuEntry("Reset projection", 3);
    glutAddMenuEntry("------------------", 0);
    glutAddMenuEntry("Fancy rubber-banding", 4);
    glutAddMenuEntry("Simple rubber-banding", 5);
    glutAddMenuEntry("------------------", 0);
    glutAddMenuEntry("Show help", 6);
    } else {
    printf("Sorry, no whizzy zoomdino overlay usage!\n");
    glutMainLoop();
    return 0;
    File Name : nativtest.java
    public class nativetest
         static
              System.loadLibrary("nativetest");
         public native String sayHello(String s);
         public static void main(String[] argv)
              String retval = null;
              nativetest nt = new nativetest();
              retval = nt.sayHello("Beavis");
              System.out.println("Invocation returned " + retval);
    }So can anyone help me about this.
    or if anyone have any kind of information realted to overlay on webbrowser then also can tell me...so it will helpfull 2 me.
    Regards,
    Ajay Patel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    cgicmd.dat is not right place. let me put the whole code here. What I was referring was you need to have front page where you can display the reports links or if you are calling reports from forms you can use this.
    A From Forms
    1 formsweb.cfg
    HTMLbeforeForm=<script>var windowHandle;function openWindowURL(URLString){windowHandle =window.open(URLString,"Forms","location=false,toolbar
    =false,resizable,scrollbars");windowHandle.focus();}function closeWindow(){if (windowHandle && !windowHandle.closed){windowHandle.close();}el
    se{}}</script>
    2 from form use
    web.show_document('javascript:window.openWindowURL("'||http://reports url ||'");','_self');
    B From Home page /HTML page to call reports/any link
    1. Replace ... with <
    ...html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script>var windowHandle;function openWindowURL(URLString){windowHandle =window.open(URLString,"Forms","location=false,toolbar=false,resizable,scrollbars");windowHandle.focus();}function closeWindow(){if (windowHandle && !windowHandle.closed){windowHandle.close();}else{}}</script>
    </head>
    <body>
    <p align=center>
    ... a href="javascript:void(0)" onclick="openWindowURL('http://www.oracle.com')">Oracle</a>
    <br><br><br><br><br>...a href="javascript:void(0)" onclick="openWindowURL('http://www.alexyscorp.com')">Alexys</a>
    <br>
    </p>
    </body>
    ... html>
    Message was edited by:
    RajeshAlex
    Message was edited by:
    RajeshAlex
    Message was edited by:
    RajeshAlex
    Message was edited by:
    RajeshAlex
    Message was edited by:
    RajeshAlex

  • Transparency and window managers

    I'm trying to figure out how a window manager handles transparency in it's clients, and if it's done through Xlib or something similar. If anyone here has some idea how this works, any little explanation or a pointer to a guide would be much appreciated.
    Reason I'm asking is that I've got this little program that uses the Cairo library (more specifically the function set_source_rgba from that library) to set the alpha value of a window. This works fine in Openbox with xcompmgr, but I'm running Evilwm with xcompmgr and all I get is a gray background.
    Now, the "grayness" of the background changes depending on the alpha value, so I think the function is actually doing it's job properly, but that Evilwm either does things a bit specially or doesn't support transparency. In either case I'd like to try and fix it, but am at a bit of a loss as where to start.

    WMs should not touch transparency (you can add transparency to a 20-year old WM using stuff like xcompmgr).
    xcompmgr has to interface with the WM though, so I think it expects it to follow certain standards or make certain properties available. That might be where your problem lies.

  • Little semi-transparent Finder window icons, tabs

    When I move a Finder window, I sometimes accidentally grab the tab (because there's very little visual distinction between the two, poor UI IMHO). When I release the mouse, it leaves a semi-transparent icon version of the Finder window. You can literally have your desktop littered with these and I'm wondering why Apple has let this bug go for so long?
    How do you get rid of them?

    When I move a Finder window, I sometimes accidentally grab the tab (because there's very little visual distinction between the two, poor UI IMHO). When I release the mouse, it leaves a semi-transparent icon version of the Finder window. You can literally have your desktop littered with these and I'm wondering why Apple has let this bug go for so long?
    How do you get rid of them?

  • Firefox 29 Top Bar is Transparent on Windows 8.1

    I just installed Firefox 29 on a laptop (Lenovo Yoga 2 Pro with very high resolution) that runs Windows 8.1.
    The tabs are transparent and show whatever is behind, either the desktop (e.g. the trash icon) or the application that was active previous to Firefox.
    In my screenshot, this is Microsoft Outlook.
    How can I fix this?

    The issue has suddenly gone away.
    I suspect it has something to do with connecting the external monitor.
    Now everything is fine also without the external display.
    Strange...

  • Why is my firefox a transparent blank window every time i open it

    Everytime i open my firefox its a blank blue transparent screen , please help ive restarted my machine and everything and if i deleate it and reinstall will i loose all my bookmarks ?
    thanks
    Vimo

    hello vimobhana, can you try launching firefox in safe mode by pressing the shift key while it is starting and see if the issue is occurring there too? maybe a theme or hardware acceleration is interfering here...
    if safemode is working, you can try disabling hardware acceleration in firefox > options > advanced > general and or disable addons that might cause the problem. it also would be interesting which graphics hardware (adapter description, driver date & driver version) you are using - you can access this information in firefox > help > troubleshooting information towards the bottom of that page... thank you
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • Certificate Transparency with Windows Server CA

    I'm new to the subject of Certificate Transparency and am trying to determine the simplest way to get our "enterprise CA" certs trusted.   So far, only Chrome objects, showing the error below about our CA lacking audit records.
    As I understand it, these records are different from the CRL mechanism, which we do provide.
    How Certificate Transparency Works

    Hi,
    Yes, i would agree with Paul.
    Only chrome object has this issue?
    This alert/error means that the website is using an old security algorithm such as SHA-1 ,which is potentially no longer safe.
    More detailed information:
    https://thomas.vanhoutte.be/miniblog/this-site-is-using-outdated-security-settings-that-may-prevent-future-versions-of-chrome-from-being-able-to-safely-access-it/
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Can not get access files from Windows 7 to Claims-based file authorization share

    We have AD level 2012R2, DCs running 2012R2 of course, and we have clustered File Server (3 FSNodes running 2012R2).
    We enabled 2 policies 
    KDC Support for claim
    Kerberos support for claim
    We created 1 claim type in ADAC (For example "Division" Source Property). Filled this property to all IT AD Accounts by our value "IT"
    On FS made a share folder ITDivision:
    - set permissions  Domain Users can Modify if User.Division equals "IT"
    so on Windows 8 IT Users can access files on this share and on Windows 7 they cant
    =\ . We know from many presentations about Dynamic Access Control that File Server must enroll user claims if client do not support this claims (Service-for-User-To-Self)

    Hi,
    >>so on Windows 8 IT Users can access files on this share and on Windows 7 they cant
    =\ . We know from many presentations about Dynamic Access Control that File Server must enroll user claims if client do not support this claims (Service-for-User-To-Self)
    How is it going? Was there any error message? As far as I know, Dynamic Access Control (DAC) should work for downlevel clients. It’s backwards compatible. As Florain explains in the following blog:
    For non-Windows 8 and non-Windows Server 2012 boxes accessing DAC-protected file shares, the users do not carry any claims. For them, the Server 2012-based file share will query Active Directory and proxy the claims request to figure out what claims
    the user and machine bring. The file server checks in the name of the user, whether they should have claims. With that information, the file server evaluates the access to the file share. So yeah – DAC works for downlevel clients, too. It’s backwards compatible.
    And totally transparent to Windows 7.
    Questions regarding Dynamic Access Control (FAQ)
    http://www.frickelsoft.net/blog/?p=293
    In addition, regarding dynamic access control, the following blog can also be referred to for more information.
    Dynamic Access Control in Windows Server 2012
    http://www.infoq.com/news/2012/10/Dynamic-Access-Control
    Please Note: Since the above two website are not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Frank Shen

  • AIR/Windows 7 Onscreen Keyboard

    Hi
    Any reason why the onscreen keyboard would stop working when a TextInput is being focused?
    * AIR 2.03
    * Flex SDK 3.4
    * j3500 Motion Computing tablet (http://www.motioncomputing.com.au/products/tablet_pc_J35.asp)
    The onscreen keyboard is the default version that comes with windows 7 Professional...The interesting thing is we did not have this issue in the AIR app in the past up until the our latest app update.
    There are no definatley no programmical modifications to the default focus behaviour of any text editable fields or anything that would interrupt the default behaviour of the flash/air integration with the onscreen keyboard and the operating system....it should be transparent AIR/Windows 7 function and totally out of our hands...
    The soft keyboard will still enter text into input fields, however the keyboard needs to be manually opened. The standard behaviour was...when the wacom pen tapped into a text input, a keyboard icon would appear next to the input and open the keyboard over the AIR app, now that does not work..
    We are really at a lose with this issue and need to know which direction to look into. The tablet has all windows and motion computing specific updates applied to it...and can be replicated on other tablets etc..
    We have not tried linux or mac installations troubleshooting because do not have direct access.
    Any ideas much appreciated.

    I am havin the sam eissue as you can tell I have set al setings to fast..and still it skips keys randomly. I have reinstalled drivers and what else can I do? This keyboard came with bundle HP Pavilion s5310f. I need a fix for this issue. I type for a living and this is unacceptble sppeed and tuypps...shew. Any info, help, or new keyboard appreciatd...thisis no working

  • Seriously Apple, why can't Leopard render a transparent menu bar on my Mac?

    I have a 2-year-old PowerBook 12" 1.5 GHz running Leopard 10.5.2 freshly updated today. I thought for sure I'd get to see a translucent menu bar but, no, still opaque as ever with no option to change.
    Apple, let me tell you some of the things this pretty capable computer can do:
    -Dynamically render transparency and reflections in a magnifying Dock
    -Dynamically render transparency in Terminal windows with varying levels of transparency
    -Render GPU-intensive animations such as Genie effect, rotating cube, and dashboard "splash"
    -Hey, I can even boot into Linux, run Gnome, and make it's menu bar transparent!
    Please stop telling me my computer is not compatible enough to display a translucent menu bar. Displaying the transparency in the menu bar has got to be one of the least intensive operations Leopard will do. It is a static image (save for seldom changing menu items) that rarely needs to be re-rendered. Terminal windows, however, get resized, dragged around and display their transparency beautifully.
    Let's get some straight answers as to why this simple issue of getting a Transparent menu bar consistently displayed (ot not displayed, by choice) across all of your "compatible" hardware is such a confusing mystery.
    Thanks for fixing the Stacks, at least.

    Thanks for your input. While you may not mind a solid menu bar, I quite like it and would like to have one. My main gripe however, is the fact that this really just seems like some bug that Apple isn't willing to focus on, or admit to.
    They say the graphics card can render "most effects" but not the menu bar. But, seriously, as I've mentioned before, why can it render transparent drop-down menus, transparent Terminal windows, transparent/reflective Dock, Dashboard ripple effect but not a simple, basic, transparent menu?
    Once I get a decent answer to this, I'll be satisfied. Because right now, telling me my 64MB graphics card can't handle it seems like a load of bulls**t.

  • I AM USING WINDOWS 7 ON MY DESK TOP MY I TUNE TAKE A LONG  TIME TO OPEN

    i have i tune on my desktop i click it it takes along time to open i have windows 7

    Try to disable transparency in Windows, see:
    *[[/questions/804050]]
    Right click in a free space on your desktop.<br />
    Left click on Personalization.<br />
    There are four options at the bottom of the screen, choose "Window Color and Appearance".<br />
    Select a border color<br />
    Uncheck: "Enable transparency"<br />
    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    *https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers

  • (Layering Issues) Transparent Terminal, Part of desktop.

    I'm aware there is a wiki post about this, and I will get to that.
    I've been trying to run a terminal as part of my desktop, and I've run into a bit of annoyance. So far I have tried:
    Gnome-Terminal + Devilspie (From the wiki, did not work)
      This failed to auto start correctly, and failed to strip the window of it's borders.
    Tilda
      Has a control fight with the desktop and inactive windows, this is the annoyance. For example, if I have a window placed inactive on the desktop, Tilda's window will override it, and I will not be able to 'grab' the window.
    What I am looking for:
      A terminal as part of my desktop running on the same 'layer' as the desktop, and the ability to be able to use the desktop on the terminal's window space. I realize this would negate any right click options the terminal itself may have, but I am fine with this.
    The desktop enviornment I am using is cinnamon-git from the AUR. CInnamon is heavily based off of Gnome 3, so any Gnome 3 applicable ideas may work.
    If there have been any previous posts about this topic, I apologize and will be happily redirected to said post.
    Thanks,
      Multimoon
    Last edited by Multimoon (2012-11-30 00:09:07)

    Multimoon wrote:Is there any way to acheive this?
    It's certainly possible to write a program to do this - but I'm skeptical that it has been done.  If it has it would be implemented in a different desktop manager, not a different terminal, so that's where you should be looking.  I dont know if your DE would play nicely with an alternate desktop manager though.
    The desktop manger would have to create a transparent desktop window, manage icons and do everything you want the desktop to do, AND generate XSendEvent events to pass anything else on to the terminal.
    Last edited by Trilby (2012-11-30 01:56:07)

Maybe you are looking for