Controlling parent mc

hello, i am in a bit stuck on this problem
i have a function that gets a target_mc (you know with the
function blaBla(target_mc){)
if i trace the target_mc, i get the child mc, meaning
something like : _level0.thumbLoader_mc1.holder
now i need to play with the thumbLoader_mc1, but i dont know
how to reach it.
i tried through simply using trace(_parent.target_mc), but
that gave me undefined... thats where i am stuck. if anybody knows
if theres a way, that would be most appreciative
thank you

Use target_mc._parent.
cheers,
blemmo

Similar Messages

  • Controlling parent movie from a loaded movie

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3264494197_595630
    Content-type: text/plain;
    charset="US-ASCII"
    Content-transfer-encoding: 7bit
    Hi!
    I have a swf file which I call "Stage" and it contains 3
    scenes.
    In scene 1 of Stage, I have another swf- "Info1." loaded on
    level 10. I know
    how to get Info1 to unload and load Info2 but what I am
    trying to accomplish
    is when I click on Info1, it loads Info2 and it also go to
    Scene 2 of Stage.
    Is there anyway I can do this?
    I appreciate any input.
    Thank you.
    K.
    --B_3264494197_595630
    Content-type: text/html;
    charset="US-ASCII"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Controlling parent movie from a loaded
    movie</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi!<BR>
    <BR>
    I have a swf file which I call &quot;Stage&quot; and
    it contains 3 scenes. =
    <BR>
    <BR>
    In scene 1 of Stage, I have another swf-
    &quot;Info1.&quot; loaded on level=
    10. I know how to get Info1 to unload and load Info2 but
    what I am trying t=
    o accomplish is when I click on Info1, it loads Info2 and it
    also go to Scen=
    e 2 of Stage. Is there anyway I can do this? <BR>
    <BR>
    I appreciate any input. <BR>
    <BR>
    Thank you.<BR>
    <BR>
    K. </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3264494197_595630--

    Never mind - I was doing something very stupid and wasn't
    calling the function as a method of a movie clip. I was simply
    calling checkTarget(event) rather than
    event.currentTarget.checkTarget(event); which seems to work.

  • Control Parental

    Hola que tal. No se si me pudieran ayudar. Tengo una MacBook Pro y andaba experimentando y active el control parental. Al activarselo me creo otra cuenta que es el administrador.
    La duda es; como deshago esto??? Tengo la contraseña pero no me gusta el funcionamiento que tiene con control parental y quiciera regresarla al estado en el que se encontraba antes.
    Por favor ayuda...

    System preferences > Accounts...
    ... here on this pane you must be sure the LOCK is open. Click on the lock and enter your Administrator name and password.
    Then you can go to the other Account and turn Parental Controls OFF.
    If you cannot remember your Administrator NAME, it is one of the Accounts.
    If you cannot remember your Administrator password, there is no method to get it out of the System. You will have to change it to something else.

  • Child .swf controlling parent timeline

    Hello Captivate Heroes,
    I've searched around, and can't seem to find any solid info on an issue my team is having. I'm a bit of a noob when it comes to Javascript, so I apologize if this question is too basic for this forum.
    Is it possible for an embedded .swf (created in Captivate) to control the main timeline in a parent .swf? Consider the example below:
    1) This window is an embedded .swf (another captivate file, which I’ll refer to as the “child”) that has an interactive walkthrough. It loads and begins playing immediately. I want users to complete this module and all interactions in it before continuing to the next slide in the “parent” file. Essentially, I want either the child or the parent timeline to play, but never both at the same time.
    2) This is our normal continue button, and I don’t want it appearing until 1 has been completed.
    My solution was to add a javascript call on the first slide of the child file that tells the parent file to pause its timeline (something like _root.rdcmdPause=1;). Then, do the opposite on the last child slide ( _root.rdcmdResume=1;). In this way, the parent slide would essentially pause on its first frame (which doesn’t have an active continue button) while the child animation continues to play. However, this isn’t working. It’s been a really long time since I’ve scripted, so I’m very rusty. Is that the proper way to manipulate parent variables in a child file? Do you have any other ideas on how to accomplish this task?
    I have a backup solution -- providing a "password" at the end of the child animation, which users can use to unlock the continue button. I'd rather use a more graceful solution
    Thank you in advance,
    Jamie

    Hi Jamie,
    I don't think JavaScript is going to help you here.  You need to be doing this in ActionScript 3. 
    For the non-scripting part, you can control the Captivate movie using system variables.  To pause the main slide, you could assign rdcmdPause=1 on the Slide Entry action.  You may want to adjust the slide transition to none so that it won't look faded out when it pauses the movie.  You can also show/hide items on the slide using the timeline, but it sounds like you won't really know when the Learner will be done with the interactive child .swf. 
    From what you described, it sounds like the Child .swf (#1) needs to communicate with other objects on the slide... mainly the continue button (#2).  In order to do that you'll most likely need to make the child .swf #1 into a widget so that it can communicate with the main movie and other objects on the slide.  I would suggest 3 possibilities:
    1.  Learn to use a widget framework such as Widget Factory or CpGears to make this possible
    2.  Take a look at the Infosemantics Event Handler Widget.  Not sure if it will meet all your needs, but it's worth a look.
    3.  Hire a Captivate Widget Developer to make this possible... and yes I am a Widget Developer (shameless plug )
    Hope that helps,
    Jim Leichliter

  • Issues with Silverlight controls -Parent child hierarchy

    Hi,
    I have came across below issues several times for Silverlight controls.
    From CodedUi Test builder(recording window), if we navigate upward(move to parent control) it shows correct hierarchy of Child ->Parent.
    For eg; DateItem(child) ->Row(parent).
    But I come from top to bottom(move to child control), then Row control does not have any child. So codedUI does not find child object during execution.
    How to handle this issue for execution?
    Regards,
    Gaurav

    Hi Gaurav,
    >> But I come from top to bottom(move to child control), then Row control does not have any child. So codedUI does not find child object during execution.
    Do you use a Silverlight DataGrid Control? Could you share us a screen shoot about your UI and the error details?
    In my option, this issue is caused by the hierarchy of the DataGird. The link below might be useful to you:
    # Test Automation for Silverlight DataGrid in Coded UI Test
    http://blogs.msdn.com/b/tapas_sahoos_blog/archive/2011/05/10/test-automation-for-silverlight-datagrid-in-coded-ui-test.aspx
    I think you could try to set a unique automation property for the DataItem for Testing. You could turn to the link below:
    # Set a Unique Automation Property for Silverlight Controls for Testing
    https://msdn.microsoft.com/en-us/library/gg413373.aspx#Datagrids
    It would be helpful if you could share us the error details and your UI.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Tree control parent node label

    The following code works fine (except the part in caps, which
    isn't code). Suggestions?
    private function changeEvt(event:Event):void {
    var theData:String = ""
    if (event.currentTarget.selectedItem.@value) {
    theData = " Data: " +
    event.currentTarget.selectedItem.@value;
    trace(event.currentTarget.selectedItem.@label + theData);
    //trace(NEED PARENT NODE LABEL HERE IF IT EXISTS);
    }

    OK. So I stopped looking too soon. In my case:
    trace(browserTree.selectedItem.parent().@label);

  • How a SWF Child can control a Parent's function/variable ?

    For instance, in the below code a parent can control a SWF
    child’s function “alert ()”.
    But how a SWF child can control parent’s function
    “ReceivingChildMsg()” ?

    Hi clbeech
    I simplified the code to simply get the swf child controlling
    its parent variable tp ( textfield ) and its content.
    I used your suggestion (parent.ReceivingChildMsg( ) and
    root.ReceivingChildMsg( )) but I get an error message:
    quote:
    “1061: Call to a possibly undefined method
    ReceivingChildMsg through a reference with static type
    flash.display:DisplayObjectContainer.”
    Here is the code:
    package
    import flash.display.MovieClip;
    import flash.text.*;
    import flash.events.*;
    import flash.display.SimpleButton;
    public class Child extends MovieClip
    public function Child():void
    btn.addEventListener(MouseEvent.CLICK,clickHandler);
    public function clickHandler(event:MouseEvent):void
    //root.ReceivingChildMsg( "Received Child Message");
    parent.ReceivingChildMsg( "Received Child Message");
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    package
    import flash.display.MovieClip;
    import flash.display.Loader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.display.LoaderInfo;
    import flash.display.Sprite;
    import flash.text.*;
    import flash.display.SimpleButton;
    public class Parent extends MovieClip
    private var loader:Loader;
    public function Parent():void
    loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onLoadComplete);
    loader.load(new URLRequest('Child.swf'));
    private function onLoadComplete(e:Event):void
    var loaderInfo:LoaderInfo = e.target as LoaderInfo;
    addChild(e.target.content);
    var swf:Object = loaderInfo.content;
    swf.x = 75;
    swf.y = 50;
    public function ReceivingChildMsg(msg:String):void
    // tp textfield object is created directly in flash
    tp.text = msg;

  • Why can my children lock and erase other family member Apple devices from their Apple ID?

    I recently setup iCloud Family Sharing for our home of 5 people.  My personal and unique Apple ID is the controlling parent ID.  Others in the family are my wife and 3 children (1 over 18 and 2 under 18).  Today I logged into iCloud from one of my kids Apple ID and noticed that it allows him to see everyone elses device location and also gives him the authority to turn on Lost Mode (which locks the device) and to Erase each device.  I then logged out and logged into another childs Apple ID and it was the same thing.  They could each see everyone's devices including my personal Mac Book Pro, both the iPads my wife and I use and the family iMac.
    Essentially that means my kids each have the ability to erase or turn on lost mode for anyone elses device which is kinda scary.  Now, perhaps you are thinking that I somehow messed up and put my kids Apple ID as the Organizer for iCloud family share but I can assure you I did not.  When I go into iCloud to see the hierarchy it clearly shows my Apple ID as the Organizer and the others are simply shown as family members and are not authorized to approve purchases.  I also do not have my kids Apple ID setup on my personal Macbook Pro or my personal iPad as an account so there's no connection that way.
    That said, I also wondered if my kids could really do anything to my personal devices or if it would ask them for my password or lock code before doing anything, so I tried it by logging into my son's iCloud account using his Apple ID.  I located my personal iPad and then told it to turn on Lost mode.  And sure enough it locked my iPad from my son's iCloud account.
    So is this how it's supposed to work or is something wrong with iCloud rights for device management?  It seems totally wrong that my other family members have such control over other family member devices.
    Thanks

    Hello sbrown02,
    Welcome to the Apple Support Communities!
    I understand that you would like to know why the people in your Family Sharing group have access to your location and that ability to put a device in Lost Mode. Lost Mode is a function available with location sharing and can be toggled off or on. Please reference the attached article for more information.
    Family Sharing and location - Apple Support
    Use location sharing with Find My iPhone
    If you join family sharing and choose to share your location with family members, they can locate and secure a missing device for you.
    If you enabled Find My iPhone on your missing device, a family member can:
    See the location and status of your device
    Play a sound on your missing device to help you find it
    Put your device in Lost Mode to help you find it
    If you don't share your location with family members, they will be able to see that your devices are online or offline and play a sound to help you locate your missing device. They won't have access to any location information about your devices.
    Best regards,
    Joe

  • How to delete .pdf file after viewing in SAP

    Hi,
    I've a program to show a pdf file within a SAP window using the open document method form the class cl_gui_pdfviewer. Now I want to delete the pdf file once I choose the back button or exit the program. How can I do that.
    In the PAI for the screen showing the pdf file, I have a case statement to perform the following
      When 'EXIT'
         call method my_pdf_viewer->close_document.
            .....    <--- some coding to try deleting the pdf file
         leave program.
    endcase.
    It seems that the pdf file is still in use by the program and cannot be deleted before leaving the program. Please help.
    Thanks in advance,
    Francis

    Hi All,
    I have had this issue and have finally resolved it.  Here's how:
    you need to destroy your custom container and html viewer control AND flush the front end cache.  This releases the lock on the file and lets you then delete it.
    Here's an example code:
    When 'EXIT'
    call method my_pdf_viewer->close_document.
      CALL METHOD my_pdf_viewer->FREE
        EXCEPTIONS
          CNTL_ERROR        = 1
          CNTL_SYSTEM_ERROR = 2
          others            = 3
      IF SY-SUBRC is initial.
        free my_pdf_viewer.
      ENDIF.
    this is the custom control parent container that contains the html control
      CALL METHOD MY_CONTAINER->FREE
         EXCEPTIONS
           CNTL_ERROR        = 1
           CNTL_SYSTEM_ERROR = 2
           others            = 3
      IF SY-SUBRC is initial.
        free my_container.
      ENDIF.
      CALL METHOD cl_gui_cfw=>dispatch.
      CALL METHOD cl_gui_cfw=>flush
            EXCEPTIONS CNTL_SYSTEM_ERROR = 1
            CNTL_ERROR = 2.
    ... <---- Delete PDF file (Delete Dataset xxxxxx.pdf)
    leave program.
    endcase.
    The other issue brought up is probably a permission issue -- trying to read the file from the presentation server versus a mapped drive that the SAP backend can access.  I read pdf files from a shared drive that the SAP backend can read/write to and it picks it up and displays just fine.
    Cheers,
    Matt

  • Error saying "must declare body"

    I was debugging a code and I got it to 1 error.
    It was missing a main method, so I did static void Main(); in the beginning of the code.
    The error says "ffbCS.Program.Main() must declare a body because it is not marked abstract, extern, or partial"
    Does the main method always go in the beginning of the code or can it come after some code? Is there other types of main methods? I used static void
    Main(); because this is the only one that I know of.
    Below is my code
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Collections;
    using System.ComponentModel;
    using System.Device;
    using Microsoft.DirectX;
    using Microsoft.DirectX.DirectInput;
    namespace ffbCS
    class Program
    static void Main();
    public sealed class DirectInputWrapper
    #region ForceType
    <summary style="color:#111111;font-family:'Segoe UI', Arial, sans-serif;font-size:14px;line-height:normal;">
    /// This enumeration simply provides a shorthand way to reference
    /// the custom forces we create -- it's not a base part of DirectX,
    /// though, so you can use a completely different method.
    ///</summary>
    public enum ForceType
    VeryBriefJolt,
    BriefJolt,
    LowRumble,
    HardRumble
    #endregion
    //this class lets us send FF commands to up to two game pads,
    //but your own class could support as many as you want
    private static Device device1;
    private static Device device2;
    private static Dictionary<forcetype,> P1Forces;
    private static Dictionary<forcetype,> P2Forces;
    #region Initialize
    ///<summary style="color:#111111;font-family:'Segoe UI', Arial, sans-serif;font-size:14px;line-height:normal;">
    /// Initialize DirectInput
    ///</summary>
    public static void Initialize( System.Windows.Forms.Control Parent )
    if ( device1 != null )
    device1.Dispose();
    device1 = null;
    if ( device2 != null )
    device2.Dispose();
    device2 = null;
    foreach ( DeviceInstance instance in Manager.GetDevices( DeviceClass.GameControl,
    EnumDevicesFlags.AttachedOnly ) )
    if ( device1 == null )
    device1 = new Device( instance.InstanceGuid );
    else if ( device2 == null )
    device2 = new Device( instance.InstanceGuid );
    DisposeForces();
    P1Forces = new Dictionary<forcetype,>();
    P2Forces = new Dictionary<forcetype,>();
    InitializeDevice( Parent, device1 );
    InitializeDevice( Parent, device2 );
    #endregion
    #region InitializeDevice
    private static void InitializeDevice( System.Windows.Forms.Control Parent, Device Dev )
    if ( Dev == null )
    return;
    Dev.SetDataFormat( DeviceDataFormat.Joystick );
    Dev.SetCooperativeLevel( Parent, CooperativeLevelFlags.Background |
    CooperativeLevelFlags.Exclusive );
    Dev.Properties.AxisModeAbsolute = true;
    Dev.Properties.AutoCenter = false;
    Dev.Acquire();
    int[] axis = null;
    // Enumerate any axes
    foreach ( DeviceObjectInstance doi in Dev.Objects )
    if ( ( doi.ObjectId & (int)DeviceObjectTypeFlags.Axis ) != 0 )
    // We found an axis, set the range to a max of 10,000
    Dev.Properties.SetRange( ParameterHow.ById,
    doi.ObjectId, new InputRange( -5000, 5000 ) );
    int[] temp;
    // Get info about first two FF axii on the device
    if ( ( doi.Flags & (int)ObjectInstanceFlags.Actuator ) != 0 )
    if ( axis != null )
    temp = new int[axis.Length + 1];
    axis.CopyTo( temp, 0 );
    axis = temp;
    else
    axis = new int[1];
    // Store the offset of each axis.
    axis[axis.Length - 1] = doi.Offset;
    if ( axis.Length == 2 )
    break;
    Dictionary<forcetype,> forces;
    if ( Dev == device1 )
    forces = P1Forces;
    else
    forces = P2Forces;
    try
    if ( axis != null )
    forces.Add( ForceType.VeryBriefJolt,
    InitializeForce( Dev, EffectType.ConstantForce, axis,
    6000, EffectFlags.ObjectOffsets | EffectFlags.Spherical, 150000 ) );
    forces.Add( ForceType.BriefJolt,
    InitializeForce( Dev, EffectType.ConstantForce, axis,
    10000, EffectFlags.ObjectOffsets | EffectFlags.Spherical, 250000 ) );
    forces.Add( ForceType.LowRumble,
    InitializeForce( Dev, EffectType.ConstantForce, axis,
    2000, EffectFlags.ObjectOffsets | EffectFlags.Cartesian, 900000 ) );
    forces.Add( ForceType.HardRumble,
    InitializeForce( Dev, EffectType.ConstantForce, axis,
    10000, EffectFlags.ObjectOffsets | EffectFlags.Spherical, 2000000 ) );
    catch ( Exception e ) 
    System.Windows.Forms.MessageBox.Show( "Could not initalize force feedback:\n\n" + e );
    #endregion
    #region DisposeForces
    public static void DisposeForces()
    if ( P1Forces != null )
    foreach ( EffectObject o in P1Forces.Values )
    o.Dispose();
    P1Forces = null;
    if ( P2Forces != null )
    foreach ( EffectObject o in P2Forces.Values )
    o.Dispose();
    P2Forces = null;
    #endregion
    #region SendForce
    public static void SendForce( ForceType Type, bool IsPlayer1 )
    Dictionary<forcetype,> forces;
    if ( IsPlayer1 )
    forces = P1Forces;
    else
    forces = P2Forces;
    if ( forces == null )
    return;
    if ( !forces.ContainsKey( Type ) )
    return;
    EffectObject force = forces[Type];
    force.Start( 1 );
    #endregion
    #region InitializeForce
    public static EffectObject InitializeForce( Device Dev, EffectType Type,
    int[] Axis, int Magnitude, EffectFlags Flags, int Duration )
    EffectObject eo = null;
    Effect e;
    foreach ( EffectInformation ei in Dev.GetEffects( EffectType.All ) )
    if ( DInputHelper.GetTypeCode( ei.EffectType ) == (int)Type )
    e = new Effect();
    e.SetDirection( new int[Axis.Length] );
    e.SetAxes( new int[1] ); 
    //this is the offending line in the Microsoft examples
    //setting axes to 2 causes the dreaded "Value does not fall within expected range" error
    //this is evidently a bug in Managed DirectX, at least affecting some game pads,
    //and this is the only workaround I've found.
    //I have not been able to successfully load FFE files in Managed DirectX
    //due to this same problem (presumably, in the inner initialization code
    //when loading from FFE, it is trying to load two axes there, as well).
    //This problem exists with all verys of Managed DirectX, as far as I can tell,
    //at least up through March 2008 when this example was written.
    e.EffectType = Type;
    e.ConditionStruct = new Condition[Axis.Length];
    e.Duration = Duration;
    e.Gain = 10000;
    e.Constant = new ConstantForce();
    e.Constant.Magnitude = Magnitude;
    e.SamplePeriod = 0;
    e.TriggerButton = (int)Microsoft.DirectX.DirectInput.Button.NoTrigger;
    e.TriggerRepeatInterval = (int)DI.Infinite;
    e.Flags = Flags;
    e.UsesEnvelope = false;
    // Create the effect, using the passed in guid.
    eo = new EffectObject( ei.EffectGuid, e, Dev );
    return eo;
    #endregion

    I was debugging a code and I got it to 1 error.
    It was missing a main method, so I did static void Main(); in the beginning of the code.
    The error says "ffbCS.Program.Main() must declare a body because it is not marked abstract, extern, or partial"
    Does the main method always go in the beginning of the code or can it come after some code? Is there other types of main methods? I used static void
    Main(); because this is the only one that I know of.
    Below is my code
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Collections;
    using System.ComponentModel;
    using System.Device;
    using Microsoft.DirectX;
    using Microsoft.DirectX.DirectInput;
    namespace ffbCS
    class Program
    static void Main();
    public sealed class DirectInputWrapper
    #region ForceType
    ///<summary style="color:#111111;font-family:'Segoe UI', Arial, sans-serif;font-size:14px;line-height:normal;">
    /// This enumeration simply provides a shorthand way to reference
    /// the custom forces we create -- it's not a base part of DirectX,
    /// though, so you can use a completely different method.
    ///</summary>
    public enum ForceType
    VeryBriefJolt,
    BriefJolt,
    LowRumble,
    HardRumble
    #endregion
    //this class lets us send FF commands to up to two game pads,
    //but your own class could support as many as you want
    private static Device device1;
    private static Device device2;
    private static Dictionary<forcetype,> P1Forces;
    private static Dictionary<forcetype,> P2Forces;
    #region Initialize
    ///<summary style="color:#111111;font-family:'Segoe UI', Arial, sans-serif;font-size:14px;line-height:normal;">
    /// Initialize DirectInput
    ///</summary>
    public static void Initialize( System.Windows.Forms.Control Parent )
    if ( device1 != null )
    device1.Dispose();
    device1 = null;
    if ( device2 != null )
    device2.Dispose();
    device2 = null;
    foreach ( DeviceInstance instance in Manager.GetDevices( DeviceClass.GameControl,
    EnumDevicesFlags.AttachedOnly ) )
    if ( device1 == null )
    device1 = new Device( instance.InstanceGuid );
    else if ( device2 == null )
    device2 = new Device( instance.InstanceGuid );
    DisposeForces();
    P1Forces = new Dictionary<forcetype,>();
    P2Forces = new Dictionary<forcetype,>();
    InitializeDevice( Parent, device1 );
    InitializeDevice( Parent, device2 );
    #endregion
    #region InitializeDevice
    private static void InitializeDevice( System.Windows.Forms.Control Parent, Device Dev )
    if ( Dev == null )
    return;
    Dev.SetDataFormat( DeviceDataFormat.Joystick );
    Dev.SetCooperativeLevel( Parent, CooperativeLevelFlags.Background |
    CooperativeLevelFlags.Exclusive );
    Dev.Properties.AxisModeAbsolute = true;
    Dev.Properties.AutoCenter = false;
    Dev.Acquire();
    int[] axis = null;
    // Enumerate any axes
    foreach ( DeviceObjectInstance doi in Dev.Objects )
    if ( ( doi.ObjectId & (int)DeviceObjectTypeFlags.Axis ) != 0 )
    // We found an axis, set the range to a max of 10,000
    Dev.Properties.SetRange( ParameterHow.ById,
    doi.ObjectId, new InputRange( -5000, 5000 ) );
    int[] temp;
    // Get info about first two FF axii on the device
    if ( ( doi.Flags & (int)ObjectInstanceFlags.Actuator ) != 0 )
    if ( axis != null )
    temp = new int[axis.Length + 1];
    axis.CopyTo( temp, 0 );
    axis = temp;
    else
    axis = new int[1];
    // Store the offset of each axis.
    axis[axis.Length - 1] = doi.Offset;
    if ( axis.Length == 2 )
    break;
    Dictionary<forcetype,> forces;
    if ( Dev == device1 )
    forces = P1Forces;
    else
    forces = P2Forces;
    try
    if ( axis != null )
    forces.Add( ForceType.VeryBriefJolt,
    InitializeForce( Dev, EffectType.ConstantForce, axis,
    6000, EffectFlags.ObjectOffsets | EffectFlags.Spherical, 150000 ) );
    forces.Add( ForceType.BriefJolt,
    InitializeForce( Dev, EffectType.ConstantForce, axis,
    10000, EffectFlags.ObjectOffsets | EffectFlags.Spherical, 250000 ) );
    forces.Add( ForceType.LowRumble,
    InitializeForce( Dev, EffectType.ConstantForce, axis,
    2000, EffectFlags.ObjectOffsets | EffectFlags.Cartesian, 900000 ) );
    forces.Add( ForceType.HardRumble,
    InitializeForce( Dev, EffectType.ConstantForce, axis,
    10000, EffectFlags.ObjectOffsets | EffectFlags.Spherical, 2000000 ) );
    catch ( Exception e ) 
    System.Windows.Forms.MessageBox.Show( "Could not initalize force feedback:\n\n" + e );
    #endregion
    #region DisposeForces
    public static void DisposeForces()
    if ( P1Forces != null )
    foreach ( EffectObject o in P1Forces.Values )
    o.Dispose();
    P1Forces = null;
    if ( P2Forces != null )
    foreach ( EffectObject o in P2Forces.Values )
    o.Dispose();
    P2Forces = null;
    #endregion
    #region SendForce
    public static void SendForce( ForceType Type, bool IsPlayer1 )
    Dictionary<forcetype,> forces;
    if ( IsPlayer1 )
    forces = P1Forces;
    else
    forces = P2Forces;
    if ( forces == null )
    return;
    if ( !forces.ContainsKey( Type ) )
    return;
    EffectObject force = forces[Type];
    force.Start( 1 );
    #endregion
    #region InitializeForce
    public static EffectObject InitializeForce( Device Dev, EffectType Type,
    int[] Axis, int Magnitude, EffectFlags Flags, int Duration )
    EffectObject eo = null;
    Effect e;
    foreach ( EffectInformation ei in Dev.GetEffects( EffectType.All ) )
    if ( DInputHelper.GetTypeCode( ei.EffectType ) == (int)Type )
    e = new Effect();
    e.SetDirection( new int[Axis.Length] );
    e.SetAxes( new int[1] ); 
    //this is the offending line in the Microsoft examples
    //setting axes to 2 causes the dreaded "Value does not fall within expected range" error
    //this is evidently a bug in Managed DirectX, at least affecting some game pads,
    //and this is the only workaround I've found.
    //I have not been able to successfully load FFE files in Managed DirectX
    //due to this same problem (presumably, in the inner initialization code
    //when loading from FFE, it is trying to load two axes there, as well).
    //This problem exists with all verys of Managed DirectX, as far as I can tell,
    //at least up through March 2008 when this example was written.
    e.EffectType = Type;
    e.ConditionStruct = new Condition[Axis.Length];
    e.Duration = Duration;
    e.Gain = 10000;
    e.Constant = new ConstantForce();
    e.Constant.Magnitude = Magnitude;
    e.SamplePeriod = 0;
    e.TriggerButton = (int)Microsoft.DirectX.DirectInput.Button.NoTrigger;
    e.TriggerRepeatInterval = (int)DI.Infinite;
    e.Flags = Flags;
    e.UsesEnvelope = false;
    // Create the effect, using the passed in guid.
    eo = new EffectObject( ei.EffectGuid, e, Dev );
    return eo;
    #endregion

  • Scale path without affecting stroke width

    Hi all,
    This seems like it should be simple to do but I'm not having any luck here. Basically I have a path parented to a null that controls several things, scaling them down, rotating and moving across the composition. One of those items is a path with a stroke of 32 px.  I want to be able to scale the path itself down, but leave the stroke the same.
    I thought I could key the stroke width manually but that has no effect- scaling it up as the path scales down doesn't seem to change the stroke width at all at the end keyframe, only at the beginning keyframe. I see the px count start at 32 and increase up to as it moves along the timeline, even though the stroke width on screen is still getting smaller as if there were no change at all to the width.
    Thanks!

    You generally don't want to scale the layer that contains the stroke, you want add keyframes to the mask path and animate the size of the path. This is easy. You just start by double-clicking one of the vertices and using the transform box.
    If this technique does not work for you then you have two other options, both involving expressions. Both of these options use exactly the same expression to look at the scale of your null layer and both assume that the null is at 100% scale at the start of the animation. The option that I would choose would be to replace the mask path on a layer with stroke applied with shape layer path with stroke applied. You have so many more options and you're dealing with vector information. With either solution this is the expression.
    sf = thisComp.layer("Control Null 1").transform.scale[0]/100;
    ov = value;
    nv = ov / sf
    sf (scale factor) is the x scale value of the controlling null that is the parent of the stroke layer or the layer with the stroke effect applied to a mask divided by 100. If you intend to scale X and Y of the parent you'll have to modify the expression and then combine the scale factors and this solution will not work as well.  The original scale value is divided by 100 to turn it into a decimal value
    ov (original value)  is the original set value of the stroke.
    nv (new value) is calculated by dividing the original value by the scale factor.
    This is just basic algebra from the 7th grade. If your controlling parent is scaled below 0 then the stroke will go away because the value will change to a negative number. If this is necessary in your composition you can write an if statement that will change the nv back to a positive number if the scale factor becomes less than or equal to zero and solves the divide by zero error you would get with a scale factor of zero.
    One last point, and this is important. This expression will produce accurate results if applied to the brush size of a mask path when using the Effects>Generate>Stroke effect to create your line but when scaled over 100% the line will begin to fall apart and anti aliasing will not be able to keep up with pixilation caused by the scale. Over about 120% the line will start to look thinner and over 140% it will look bad even though the stroke width is numerically accurate.
    I'll let you take it from here.

  • Spawning multiple instances of a sprite (firing bullets).  Help needed.

    Hello there.  I'm currently trying to make a game in director 11.5 for a University project.  I've decided to make a scrolling space shooter but I've run into a problem.  Any tutorial I've found has created a limited 'bank' of bullets to fire, only allowing a certain number on the stage at any given time.  What I need to do is to leave a single bullet sprite off the boundaries of the page and essentially copy it and it's lingo behaviors to spawn another instance of the bullet on the stage when the player fires (using the left mouse button in this case).  I also need this copy to be deleted entirely when it collides with an enemy or leaves the boundaries of the stage, otherwise the game will just run slower and slower as more shots are fired.
    I have heard that this is possible using the puppetSprite() method but the API doesn't shine much light on the issue and neither has literally hours of google searches.  If anyone can let me know any method of doing this, I'd be very grateful.
    On a related issue, when fired the bullet will need to intsect the location of where the mouse cursor was when the bullet was fired and then continue on a linear path.  I've worked out a method of doing this but it isn't very effective or efficient (the speed of the bullets would be determined by how far away the mouse cursor is from the players ship and I think there's probably a less calculation intensive method for doing this) and as I can't spawn the bullets as of now, I really don't know if it will even work.  If anyone has any advice on how to better implement this mechanic, again I'd welcome your input.  Thanks in advance.

    You want to work with objects not numbers which means using Points for locs and Sprite references and not sprite numbers.
    I feel that using a object manager object would make programming this a lot easier, cleaner, and more efficient. Rather than give a lecture on OOP and OOD, I took some of Josh's ideas like using a timeout object and wrote some scripts in my style to give you something else to boggle your brain.
    I tested these scripts but not thoroughly and I left plenty for you to do.
    I separated out the creation and control of "bullets" from the movement of the bullets. So, there is a behavior that does nothing more than move the bullet sprites and the control object handles everything else using a single timeout object.
    I suggest creating a new project to play with these scripts. Throw a bunch of sprites on the stage and attach the "Hitable Sprite" behavior to them, make sure you have a sprite named "bullet", and a " go the frame" behavior to loop on and you should be good to go.
    Note that where I set the velocity of the bullet sprites, that I use "100.0" instead of 20.  20 would be a very fast speed.
    Here's the Parent script for the control:
    -- Bullet Control parent script
    property  pUpdateTimer  -- timeout object for doing updates
    property  pBullets  -- list of bullet sprites
    property  pGunLoc  -- location of the gun, ie the location where your bullets start at.
    property  pRightBounds  -- right edge of the stage
    property  pBottomBounds  -- bottom edge of the state
    property  pZeroRect  -- used for intersection hit detection
    on new me
      pUpdateTimer = timeout().new("BulletCntrl", 25, #update, me)  -- 25 milleseconds = 40 updates per second
      pBullets = []
      pGunLoc = point(300,550)  -- *** SET THIS to where you want your bullets to start at.
      pZeroRect = rect(0,0,0,0)
      -- store stage bounds for later use
      pRightBounds = _movie.stage.rect.width
      pBottomBounds = _movie.stage.rect.height
      return me
    end new
    on fire me
      NewBullet = script("Bullet behavior").new(pGunLoc)  -- create new bullet sprite
      if ilk(NewBullet, #sprite) then pBullets.add(NewBullet)  -- store sprite reference
    end fire
    on update me, timeob
      if pBullets.count = 0 then exit  -- no bullets to update
      -- update bullet positions
      call(#update, pBullets)
      -- get list of sprites to test for hits/collisions
      HitSprites = []
      sendAllSprites(#areHitable, HitSprites)  -- the list "HitSprites" is populated by each hitable sprite.
      BulletsToDelete = []  -- list of bullet sprites to delete
      -- check if any bullet has hit a hitable sprite
      repeat with Bullet in pBullets
        repeat with HitSprite in HitSprites
          if Bullet.rect.intersect(HitSprite.rect) <> pZeroRect then
            HitSprite.explode()
            BulletsToDelete.add(bullet)
            exit repeat  -- leave inner loop
          end if
        end repeat
      end repeat
      -- check if bullet is out of bounds
      repeat with Bullet in pBullets
        Die = false
        if Bullet.right < 0 then Die = true
        if Bullet.left > pRightBounds then Die = true
        if Bullet.top > pBottomBounds then Die = true
        if Bullet.bottom < 0 then Die = true
        if Die then BulletsToDelete.add(Bullet)
      end repeat
      -- remove any sprites that hit something or went off the screen
      repeat with Bullet in BulletsToDelete
        Bullet.die()
        pBullets.deleteOne(Bullet)  -- remove bullet from list of active bullets
      end repeat
    end update
    on stopMovie
      -- end of app cleanup
      if pUpdateTimer.objectP then
        pUpdateTimer.forget()
        pUpdateTimer = void
      end if
    end
    The behavior for the bullets is:
    -- Bullet behavior
    property  pMe
    property  pVelocity
    property  pCurLoc
    on new me, StartLoc
      -- get a sprite
      pMe = me.getSprite()
      if pMe.voidP then return void  -- if not a sprite then give up
      -- setup this bullet sprite
      pMe.puppet = true
      pMe.member = member("bullet")
      pMe.loc = StartLoc
      pMe.scriptInstanceList.add(me)  -- add this behavior to this sprite
      -- set velocity
      pVelocity = ( _mouse.mouseLoc - StartLoc) / 100.0  -- Note: magic number "20.0"
      updateStage()  -- need to update pMe.rect values
      pCurLoc = pMe.loc -- store current location
      return pMe  -- Note: returning "pMe" not "me"
    end new
    on getSprite me
      repeat with CurChannel = 1 to the lastchannel
        if sprite(CurChannel).member = (member 0 of castLib 0) AND sprite(CurChannel).puppet = false then
          return sprite(CurChannel)
        end if
      end repeat
      return void
    end getSprite
    on update me
      -- move bullet. 
      pCurLoc = pCurLoc + pVelocity  -- add velocity to pCurLoc to maintain floating point accuracy
      pMe.loc = pCurLoc 
    end update
    on die me
      pMe.scriptInstanceList = []  -- must manually clear this property
      pMe.puppet = false
    end
    We setup everything in a Movie script:
    -- Movie Script
    global gBulletCntrl
    on prepareMovie
      gBulletCntrl = script("Bullet Control").new()
      the mouseDownScript = "gBulletCntrl.fire()"  -- route mouseDown events to the global object gBulletCntrl.
    end prepareMovie
    on stopMovie
      the mouseDownScript = ""
    end stopMovie
    Finally since we are shooting at other sprites we need a script on them to interact with the bullets.
    --  Hitable Sprite Behavior
    property  pMe
    on beginSprite me
      pMe = sprite(me.spriteNum)
    end beginSprite
    on enterFrame me
      -- movie sprite
    end enterFrame
    on areHitable me, HitList
      HitList.add(pMe)
    end areHitable
    on explode me
      put "Boom"
    end explode

  • How can I get a E3000 or E4200 to manage more than 5 devices

    How can I get a E3000 or E4200 to manage more than 5 devices? Come on Cisco, lets get real. EVERYONE has more than 5 devices to manage. The average family of 4 has 3 or 4 computers, 4 smart phones and at least a couple of tablets and maybe some TV or game consoles. Setting access control policies is a must for anyone who is a parent.
    Does anyone know of a good router that has a reasonable set of access control features? I've always loved Cisco up to this point, but I'm frustrated by this significant limitation.

    Fuggedaboutit.  Cisco apparently has retreated from the more advanced Internet Access Policy (IAP) to leave users with their paltry Parental Controls (PC) instead.  For example the E4200v1 had IAP+PC, and the E4200v2 has only PC.
    And good luck trying to find a E4200v1.  I spent the last week, ordered 3 of them from different sources, and every one of them was a V2 inside of a V1 box, even the last one I ordered directly from Linksys!
    That's a very bizarre marketing scam they're pulling there.  The sad thing is that I actually want to keep using their product line, but they are doing their best to push me away.
    I too am now regrouping and looking for a competitor who does 2 things well:
      (A) High performing dual-band wireless access point, w/ pswd-protected guest-mode
      (B) Reliable & fairly full-featured Internet access control (parental control)
    My basic requirements for "B" are:
      (1) Allow restrictions by IP or better yet MAC address (Cisco PC's hostname list didn't work for me)
      (2) Device list of at least 12 devices (obviously family size varies but Cisco's 5 is a joke)
      (3) Restricty by days of week and time of day (hourly or half-hourly would be nice)
      (4) Restrict by URL's and keywords, at least 12 per device or policy/rule
    I wonder if there's a home router whose stock OS, meets these requirements.  Otherwise I may have to look into using DD-WRT or similar.

  • X11 errors with mono and keepass

    I've been trying to get KeePass running to no avail. I've tried custom mono installations as well as pacman installations. I'm using the most recent portable version on keepass.info.I receive the following as an error and would appreciate any guidance. If it helps, I'm running catalyst drivers. Thanks!
    X11 Error encountered:
    Error: BadAlloc (insufficient resources for operation)
    Request: 53 (0)
    Resource ID: 0xE00033
    Serial: 1304
    Hwnd: Hwnd, Mapped:True ClientWindow:0xE00033, WholeWindow:0xE00032, Zombie=False, Parent:[<null>]
    Control: System.Windows.Forms.ListView+ItemControl at System.Environment.get_StackTrace()
    at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
    at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux(IntPtr , IntPtr , IntPtr ByRef )
    at System.Drawing.Graphics.FromXDrawable(IntPtr drawable, IntPtr display)
    at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
    at System.Windows.Forms.XplatUIX11.GetOffscreenGraphics(System.Object offscreen_drawable)
    at System.Windows.Forms.XplatUI.GetOffscreenGraphics(System.Object offscreen_drawable)
    at System.Windows.Forms.Control+DoubleBuffer.Start(System.Windows.Forms.PaintEventArgs pe)
    at System.Windows.Forms.Control.WmPaint(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ListView+ItemControl.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.UpdateWindow(IntPtr handle)
    at System.Windows.Forms.XplatUI.UpdateWindow(IntPtr handle)
    at System.Windows.Forms.Control.Update()
    at System.Windows.Forms.Control.Refresh()
    at System.Windows.Forms.Control.OnEnabledChanged(System.EventArgs e)
    at System.Windows.Forms.Control.ChangeParent(System.Windows.Forms.Control new_parent)
    at System.Windows.Forms.Control+ControlCollection.Remove(System.Windows.Forms.Control value)
    at System.Windows.Forms.Control+ControlCollection.AddImplicit(System.Windows.Forms.Control control)
    at System.Windows.Forms.ListView.AdjustChildrenZOrder()
    at System.Windows.Forms.ListView.LayoutDetails()
    at System.Windows.Forms.ListView.CalculateListView(ListViewAlignment align)
    at System.Windows.Forms.ListView.Redraw(Boolean recalculate)
    at System.Windows.Forms.ListView.ListView_SizeChanged(System.Object sender, System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ListView.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.PerformLayout()
    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
    at System.Windows.Forms.Control.ResumeLayout()
    at System.Windows.Forms.SplitContainer.UpdateLayout()
    at System.Windows.Forms.SplitContainer.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.OnResizeInternal(System.EventArgs e)
    at System.Windows.Forms.Control.OnResize(System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.SplitContainer.WndProc(Message ByRef msg)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.PerformLayout()
    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
    at System.Windows.Forms.Control.ResumeLayout()
    at System.Windows.Forms.SplitContainer.UpdateLayout()
    at System.Windows.Forms.SplitContainer.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.OnResizeInternal(System.EventArgs e)
    at System.Windows.Forms.Control.OnResize(System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.SplitContainer.WndProc(Message ByRef msg)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ContainerControl.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Form.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified, System.Windows.Forms.Control cOptFocus)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified)
    at KeePass.Forms.MainForm.OnFormLoad(System.Object sender, System.EventArgs e)
    at System.Windows.Forms.Form.OnLoad(System.EventArgs e)
    at System.Windows.Forms.Form.OnLoadInternal(System.EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.Form.WndProc(Message ByRef m)
    at KeePass.Forms.MainForm.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.MapWindow(System.Windows.Forms.Hwnd hwnd, WindowType windows)
    at System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at System.Windows.Forms.Application.RunLoop(Boolean Modal, System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
    at KeePass.Program.Main(System.String[] args)
    X11 Error encountered:
    Error: BadDrawable (invalid Pixmap or Window parameter)
    Request: 14 (0)
    Resource ID: 0xE00045
    Serial: 1305
    Hwnd: <null>
    Control: <null> at System.Environment.get_StackTrace()
    at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
    at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux(IntPtr , IntPtr , IntPtr ByRef )
    at System.Drawing.Graphics.FromXDrawable(IntPtr drawable, IntPtr display)
    at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
    at System.Windows.Forms.XplatUIX11.GetOffscreenGraphics(System.Object offscreen_drawable)
    at System.Windows.Forms.XplatUI.GetOffscreenGraphics(System.Object offscreen_drawable)
    at System.Windows.Forms.Control+DoubleBuffer.Start(System.Windows.Forms.PaintEventArgs pe)
    at System.Windows.Forms.Control.WmPaint(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ListView+ItemControl.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.UpdateWindow(IntPtr handle)
    at System.Windows.Forms.XplatUI.UpdateWindow(IntPtr handle)
    at System.Windows.Forms.Control.Update()
    at System.Windows.Forms.Control.Refresh()
    at System.Windows.Forms.Control.OnEnabledChanged(System.EventArgs e)
    at System.Windows.Forms.Control.ChangeParent(System.Windows.Forms.Control new_parent)
    at System.Windows.Forms.Control+ControlCollection.Remove(System.Windows.Forms.Control value)
    at System.Windows.Forms.Control+ControlCollection.AddImplicit(System.Windows.Forms.Control control)
    at System.Windows.Forms.ListView.AdjustChildrenZOrder()
    at System.Windows.Forms.ListView.LayoutDetails()
    at System.Windows.Forms.ListView.CalculateListView(ListViewAlignment align)
    at System.Windows.Forms.ListView.Redraw(Boolean recalculate)
    at System.Windows.Forms.ListView.ListView_SizeChanged(System.Object sender, System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ListView.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.PerformLayout()
    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
    at System.Windows.Forms.Control.ResumeLayout()
    at System.Windows.Forms.SplitContainer.UpdateLayout()
    at System.Windows.Forms.SplitContainer.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.OnResizeInternal(System.EventArgs e)
    at System.Windows.Forms.Control.OnResize(System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.SplitContainer.WndProc(Message ByRef msg)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.PerformLayout()
    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
    at System.Windows.Forms.Control.ResumeLayout()
    at System.Windows.Forms.SplitContainer.UpdateLayout()
    at System.Windows.Forms.SplitContainer.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.OnResizeInternal(System.EventArgs e)
    at System.Windows.Forms.Control.OnResize(System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.SplitContainer.WndProc(Message ByRef msg)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ContainerControl.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Form.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified, System.Windows.Forms.Control cOptFocus)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified)
    at KeePass.Forms.MainForm.OnFormLoad(System.Object sender, System.EventArgs e)
    at System.Windows.Forms.Form.OnLoad(System.EventArgs e)
    at System.Windows.Forms.Form.OnLoadInternal(System.EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.Form.WndProc(Message ByRef m)
    at KeePass.Forms.MainForm.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.MapWindow(System.Windows.Forms.Hwnd hwnd, WindowType windows)
    at System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at System.Windows.Forms.Application.RunLoop(Boolean Modal, System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
    at KeePass.Program.Main(System.String[] args)
    System.Exception: Generic Error [GDI+ status: GenericError]
    at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
    at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0
    at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, Rectangle rect) [0x00000] in <filename unknown>:0
    at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:FillRectangle (System.Drawing.Brush,System.Drawing.Rectangle)
    at System.Windows.Forms.Control.PaintControlBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.OnPaintBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.ListView+ItemControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
    X11 Error encountered:
    Error: BadDrawable (invalid Pixmap or Window parameter)
    Request: 14 (0)
    Resource ID: 0xE00045
    Serial: 1313
    Hwnd: <null>
    Control: <null> at System.Environment.get_StackTrace()
    at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
    at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux(IntPtr , IntPtr , IntPtr ByRef )
    at System.Drawing.Graphics.FromXDrawable(IntPtr drawable, IntPtr display)
    at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
    at System.Windows.Forms.XplatUIX11.GetOffscreenGraphics(System.Object offscreen_drawable)
    at System.Windows.Forms.XplatUI.GetOffscreenGraphics(System.Object offscreen_drawable)
    at System.Windows.Forms.Control+DoubleBuffer.Start(System.Windows.Forms.PaintEventArgs pe)
    at System.Windows.Forms.Control.WmPaint(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ListView+ItemControl.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.UpdateWindow(IntPtr handle)
    at System.Windows.Forms.XplatUI.UpdateWindow(IntPtr handle)
    at System.Windows.Forms.Control.Update()
    at System.Windows.Forms.Control.Refresh()
    at System.Windows.Forms.Control.OnEnabledChanged(System.EventArgs e)
    at System.Windows.Forms.Control.ChangeParent(System.Windows.Forms.Control new_parent)
    at System.Windows.Forms.Control+ControlCollection.AddImplicit(System.Windows.Forms.Control control)
    at System.Windows.Forms.ListView.AdjustChildrenZOrder()
    at System.Windows.Forms.ListView.LayoutDetails()
    at System.Windows.Forms.ListView.CalculateListView(ListViewAlignment align)
    at System.Windows.Forms.ListView.Redraw(Boolean recalculate)
    at System.Windows.Forms.ListView.ListView_SizeChanged(System.Object sender, System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ListView.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.PerformLayout()
    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
    at System.Windows.Forms.Control.ResumeLayout()
    at System.Windows.Forms.SplitContainer.UpdateLayout()
    at System.Windows.Forms.SplitContainer.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.OnResizeInternal(System.EventArgs e)
    at System.Windows.Forms.Control.OnResize(System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.SplitContainer.WndProc(Message ByRef msg)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.PerformLayout()
    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
    at System.Windows.Forms.Control.ResumeLayout()
    at System.Windows.Forms.SplitContainer.UpdateLayout()
    at System.Windows.Forms.SplitContainer.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.OnResizeInternal(System.EventArgs e)
    at System.Windows.Forms.Control.OnResize(System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.SplitContainer.WndProc(Message ByRef msg)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ContainerControl.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Form.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified, System.Windows.Forms.Control cOptFocus)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified)
    at KeePass.Forms.MainForm.OnFormLoad(System.Object sender, System.EventArgs e)
    at System.Windows.Forms.Form.OnLoad(System.EventArgs e)
    at System.Windows.Forms.Form.OnLoadInternal(System.EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.Form.WndProc(Message ByRef m)
    at KeePass.Forms.MainForm.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.MapWindow(System.Windows.Forms.Hwnd hwnd, WindowType windows)
    at System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at System.Windows.Forms.Application.RunLoop(Boolean Modal, System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
    at KeePass.Program.Main(System.String[] args)
    System.Exception: Generic Error [GDI+ status: GenericError]
    at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
    at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0
    at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, Rectangle rect) [0x00000] in <filename unknown>:0
    at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:FillRectangle (System.Drawing.Brush,System.Drawing.Rectangle)
    at System.Windows.Forms.Control.PaintControlBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.OnPaintBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.ListView+ItemControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
    X11 Error encountered:
    Error: BadWindow (invalid Window parameter)
    Request: 20 (0)
    Resource ID: 0xE0001A
    Serial: 1320
    Hwnd: Hwnd, Mapped:False ClientWindow:0xE0001B, WholeWindow:0xE0001A, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE00019, WholeWindow:0xE00018, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE00017, WholeWindow:0xE00016, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE00015, WholeWindow:0xE00014, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE0000F, WholeWindow:0xE0000E, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE0000D, WholeWindow:0xE0000C, Zombie=True, Parent:[<null>]]]]]]
    Control: <handle E0001B non-existant> at System.Environment.get_StackTrace()
    at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
    at System.Windows.Forms.XplatUIX11.XGetWMNormalHints(IntPtr , IntPtr , XSizeHints ByRef , IntPtr ByRef )
    at System.Windows.Forms.XplatUIX11.SetWindowMinMax(IntPtr handle, Rectangle maximized, Size min, Size max, System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.XplatUIX11.SetWindowMinMax(IntPtr handle, Rectangle maximized, Size min, Size max)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.PerformLayout()
    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
    at System.Windows.Forms.Control.ResumeLayout()
    at System.Windows.Forms.SplitContainer.UpdateLayout()
    at System.Windows.Forms.SplitContainer.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.OnResizeInternal(System.EventArgs e)
    at System.Windows.Forms.Control.OnResize(System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.SplitContainer.WndProc(Message ByRef msg)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.PerformLayout()
    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
    at System.Windows.Forms.Control.ResumeLayout()
    at System.Windows.Forms.SplitContainer.UpdateLayout()
    at System.Windows.Forms.SplitContainer.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.OnResizeInternal(System.EventArgs e)
    at System.Windows.Forms.Control.OnResize(System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.SplitContainer.WndProc(Message ByRef msg)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ContainerControl.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Form.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified, System.Windows.Forms.Control cOptFocus)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified)
    at KeePass.Forms.MainForm.OnFormLoad(System.Object sender, System.EventArgs e)
    at System.Windows.Forms.Form.OnLoad(System.EventArgs e)
    at System.Windows.Forms.Form.OnLoadInternal(System.EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.Form.WndProc(Message ByRef m)
    at KeePass.Forms.MainForm.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.MapWindow(System.Windows.Forms.Hwnd hwnd, WindowType windows)
    at System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at System.Windows.Forms.Application.RunLoop(Boolean Modal, System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
    at KeePass.Program.Main(System.String[] args)
    System.NullReferenceException: Object reference not set to an instance of an object
    at System.Windows.Forms.XplatUIX11.SetWindowPos (IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.XplatUI.SetWindowPos (IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.SetBoundsCoreInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.SetBoundsInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0
    at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:SetBoundsInternal (int,int,int,int,System.Windows.Forms.BoundsSpecified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.PerformLayout () [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.ResumeLayout (Boolean performLayout) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.ResumeLayout () [0x00000] in <filename unknown>:0
    at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:ResumeLayout ()
    at System.Windows.Forms.SplitContainer.UpdateLayout () [0x00000] in <filename unknown>:0
    at System.Windows.Forms.SplitContainer.OnLayout (System.Windows.Forms.LayoutEventArgs e) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.OnResizeInternal (System.EventArgs e) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.OnResize (System.EventArgs e) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.UpdateBounds () [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.WmWindowPosChanged (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.SplitContainer.WndProc (System.Windows.Forms.Message& msg) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
    at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
    X11 Error encountered:
    Error: BadWindow (invalid Window parameter)
    Request: 18 (0)
    Resource ID: 0xE0001A
    Serial: 1321
    Hwnd: Hwnd, Mapped:False ClientWindow:0xE0001B, WholeWindow:0xE0001A, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE00019, WholeWindow:0xE00018, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE00017, WholeWindow:0xE00016, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE00015, WholeWindow:0xE00014, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE0000F, WholeWindow:0xE0000E, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE0000D, WholeWindow:0xE0000C, Zombie=True, Parent:[<null>]]]]]]
    Control: <handle E0001B non-existant> at System.Environment.get_StackTrace()
    at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
    at System.Windows.Forms.XplatUIX11.XGetWMNormalHints(IntPtr , IntPtr , XSizeHints ByRef , IntPtr ByRef )
    at System.Windows.Forms.XplatUIX11.SetWindowMinMax(IntPtr handle, Rectangle maximized, Size min, Size max, System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.XplatUIX11.SetWindowMinMax(IntPtr handle, Rectangle maximized, Size min, Size max)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.PerformLayout()
    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
    at System.Windows.Forms.Control.ResumeLayout()
    at System.Windows.Forms.SplitContainer.UpdateLayout()
    at System.Windows.Forms.SplitContainer.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.OnResizeInternal(System.EventArgs e)
    at System.Windows.Forms.Control.OnResize(System.EventArgs e)
    at System.Windows.Forms.Control.OnSizeChanged(System.EventArgs e)
    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    at System.Windows.Forms.Control.UpdateBounds()
    at System.Windows.Forms.Control.WmWindowPosChanged(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.SplitContainer.WndProc(Message ByRef msg)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.SplitContainer.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren(System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls)
    at System.Windows.Forms.Layout.DefaultLayout.Layout(System.Object container, System.Windows.Forms.LayoutEventArgs args)
    at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ScrollableControl.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.ContainerControl.OnLayout(System.Windows.Forms.LayoutEventArgs e)
    at System.Windows.Forms.Form.OnLayout(System.Windows.Forms.LayoutEventArgs levent)
    at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.Control affectedControl, System.String affectedProperty)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified, System.Windows.Forms.Control cOptFocus)
    at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified)
    at KeePass.Forms.MainForm.OnFormLoad(System.Object sender, System.EventArgs e)
    at System.Windows.Forms.Form.OnLoad(System.EventArgs e)
    at System.Windows.Forms.Form.OnLoadInternal(System.EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message ByRef m)
    at System.Windows.Forms.Control.WndProc(Message ByRef m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
    at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
    at System.Windows.Forms.Form.WndProc(Message ByRef m)
    at KeePass.Forms.MainForm.WndProc(Message ByRef m)
    at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
    at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
    at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.XplatUIX11.MapWindow(System.Windows.Forms.Hwnd hwnd, WindowType windows)
    at System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.set_Visible(Boolean value)
    at System.Windows.Forms.Application.RunLoop(Boolean Modal, System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext context)
    at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
    at KeePass.Program.Main(System.String[] args)
    X11 Error encountered:
    Error: BadWindow (invalid Window parameter)
    Request: 20 (0)
    Resource ID: 0xE00016
    Serial: 1322
    Hwnd: Hwnd, Mapped:False ClientWindow:0xE00017, WholeWindow:0xE00016, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE00015, WholeWindow:0xE00014, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE0000F, WholeWindow:0xE0000E, Zombie=True, Parent:[Hwnd, Mapped:False ClientWindow:0xE0000D, WholeWindow:0xE0000C, Zombie=True, Parent:[<null>]]]]
    Control: <handle E00017 non-existant> at System.Environment.get_StackTrace()
    at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
    at System.Windows.Forms.XplatUIX11.XGetWMNormalHints(IntPtr , IntPtr , XSizeHints ByRef , IntPtr ByRef )
    at System.Windows.Forms.XplatUIX11.SetWindowMinMax(IntPtr handle, Rectangle maximized, Size min, Size max, System.Windows.Forms.CreateParams cp)
    at System.Windows.Forms.XplatUIX11.SetWindowMinMax(IntPtr handle, Rectangle maximized, Size min, Size max)
    at System.Windows.Forms.XplatUIX11.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.XplatUI.SetWindowPos(IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height)
    at System.Windows.Forms.Control.SetBoundsCoreInternal(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified sp

    Code tags are provided by the forum software; please use them.

  • Creating own controller

    There are parts of my movie where I want the user to have complete control. So I created a controller with step back, pause, step forward, play.
    Any help with script would be appreciate. I have tried go to the frame for stop --- and even put it in a loop - but it doesn't stop
    I have tried frame+1 for step forward without any lock.
    How do control frame movement.
    I would prefer not to use markers - because the count would be in the thousands.
    Thanks

    One way to approach this is to place all the logic for controling the position of the timeline in a parent script and then use a global exitFrame handler inside a movie script to route the call to an instance of the parent script.
    It's simpler than it sounds.
    Here's the movie script:
    global gControler
    on prepareMovie
      gControler = script("Timeline Controler").new(#play)  -- #play, #pause, #reverse. [speed] optional speed value
    end
    on exitFrame
      gControler.updateFrame() 
    end
    Now you can control the flow of the timeline via the global object "gControler" which I provide below.
    The interface is:
    gControler.play(), gControler.play(3), etc
    gControler.reverse(), gControler.reverse(2), etc
    gControler.pause()
    gControler.jump(1), gControler.jump(10), etc
    gControler.seek(10), gControler.seek(1000), etc
    Any exitFrame handlers in FrameScripts will override the movieScript exitframe handler. Which you may or may not want to do.
    Paste the following in to a parent script named: "Timeline Controler"
    -- Parent Script Timeline Controler
    property  pState  -- #play, #pause, #reverse
    property  pSpeed  -- frames per exitFrame. Normal play rate is 1.
    on new me, aState, speed
      if aState.SymbolP then
        pState = aState
      else
        pState = #play
      end if
      if Not [#play, #pause, #reverse].getPos(pState) then pState = #play
      if speed.IntegerP then
        pSpeed = speed
      else
        pSpeed = 1
      end if
      return me
    end new
    -- change current frame based on state variable pState
    on updateFrame me
      case pState of
        #play:       go(min(_movie.frame + pSpeed, _movie.lastframe))
        #reverse:  go(max(1, _movie.frame - pSpeed))
        #pause:    go(_movie.frame)
      end case
    end updateFrame
    -- go forwards
    on play me, speed
      if speed.IntegerP then
        pSpeed = speed
      else
        pSpeed = 1
      end if
      pState = #play
    end play
    -- go backwards
    on reverse me, speed
      if speed.IntegerP then
        pSpeed = speed
      else
        pSpeed = 1
      end if
      pState = #reverse
    end reverse
    -- loop on a frame
    on pause me
      pState = #pause
    end pause
    -- move "pos" number of frames from current position. Can be positive or negative
    on jump me, pos
      if pos.IntegerP then
        go(max(1, min(_movie.frame + pos, _movie.lastframe)))
      end if
    end jump
    -- go to an absolute position on the timeline
    on seek me, pos
      if pos.IntegerP then
        go(max(1, min(pos, _movie.lastframe)))
      end if
    end seek

Maybe you are looking for

  • Error during SC creation.

    Hello, my problem ressembles this one. Issue with Shopping cart not being converted to a PO the supplier was created with USD currency. Only euros are permitted in SC creation. After creation, the following error appears in the application monitor :

  • Air runtime questions

    Hi all, We're eyeing Air suspiciously and thinking about trying to use it for distributing various apps. Our main concerns are all about the runtime licence model. 1) The Runtime distiribution licence agreement says: Licensee may not distribute the A

  • I want to display a 2d image in a buffer then onto screen

    Hi! I was wondering does anyone know how to draw an image first into a buffer and then when desirable onto the screen. so for example in class A there is a method: void setContrast(float contrast) contrast = contrast; repaint; }and then in class B i

  • Data is not showing Under work center for any tabs

    Hi, Initialed EHp1 and done initial and basic configuration using Transaction SOLMAN_SETUP successfully. SMD + wily installed successfully in satellite system system I can see the satellite system data in Introscope Webview Extractor Framework jobs a

  • Intercompany and Revenues

    Hi All, We have (I think) an intercompany scenario we are trying to map in SAP that is not completely covered by the standard / regular intercompany scenario and I was wondering if someone could throw light on this. This is the scenario: We have comp