CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009

    Question Controls behind ImageBox


    I try to put the datagrid in back of the imagebox. . but it always appear in the front of imagebox. . . and it affects the design of my program.

    Is there a way to put the Image Box in front of the other controls on the form. . .??

    Please help. . .


  2. #2
    Join Date
    Jul 2001
    Sunny South Africa

    Re: Controls behind ImageBox

    Right click on the control ( in design time ) and say bring to front, otherwise in runtime, you could use the Z-Order property

  3. #3
    Join Date
    Apr 2009

    Re: Controls behind ImageBox

    Three layers to form, back is forms graphical method, then non-windowed controls (no hwnd), then windowed controls(has hwnd) as a general rule. The image control does not have a hwnd and so it is stuck behind other control.

    Good Luck

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.