Bug Report T151929
Visible to All Users

All drop-down controls - Closing the control's drop-down window that was opened while an in-place editor had its drop-down window open causes the "Control has no parent window" exception

created 11 years ago

Hello Support,

In 14.1.4 I have problems with "Control has no parent window" (in 14.1.3 everything is ok).
Unfortunately, I was unable to create simple app reproducing the problem.

Please see the attached video.

Best regards,

:76a61d4d KERNELBASE.RaiseException + 0x48
Vcl.Controls.TWinControl.CreateWnd
cxControls.TcxControl.CreateWnd
Vcl.Controls.TWinControl.CreateHandle
cxContainer.TcxContainer.CreateHandle
cxEdit.TcxCustomEdit.CreateHandle
cxDropDownEdit.TcxCustomDropDownEdit.CreateHandle
Vcl.Controls.TWinControl.HandleNeeded
Vcl.Controls.TWinControl.GetHandle
Vcl.Forms.TCustomForm.SetFocusedControl($80343F0)
cxContainer.SafePassFocus
cxContainer.TcxCustomPopupWindow.CloseUp
cxGridCustomTableView.TcxGridFilterPopup.CloseUp
cxContainer.CloseUnrelatedPopupsOnMouseClick(1445946,(539, 283),513,False)
cxContainer.cxContainerMouseHook(0,513,204798328,0)
:0069c2dd TdxSystemHook.ProcessHookProcs + $55
:0069c09f dxSystemMouseHook + $1B
:7643941f ; C:\WINDOWS\SysWOW64\user32.dll
:764393a6 ; C:\WINDOWS\SysWOW64\user32.dll
:76446b97 user32.MonitorFromWindow + 0xa4
:7726eed2 ntdll.KiUserCallbackDispatcher + 0x2e
:7643840f ; C:\WINDOWS\SysWOW64\user32.dll
Vcl.Forms.TApplication.ProcessMessage(???)

Show previous comments (1)

    Hello Paulo,
    Thank you for your response.
    I have tried the solutions proposed by you without success. The only thing that solves the problem is to set property OptionsBehavior.AlwaysShowEditor to false.
    In addition, I noticed that the problem occurs only when the active record (active before filtering) is not present in the filtered data.
    Best regards,

      Ok, reproduced :-)
      Please see attached project and video.
      Best regards,

      DevExpress Support Team 11 years ago

        I have reproduced this behavior. We will examine it and get back to you once we have any results or need additional information. Thank you for your patience.

        Answers approved by DevExpress Support

        created 11 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.