Controls behind ImageBox
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Controls behind ImageBox

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Posts
    6

    Question Controls behind ImageBox

    Hello,

    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. . .

    Thanks.

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,091

    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
    Posts
    394

    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

This is a CodeGuru survey question.


Featured


HTML5 Development Center