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

Thread: Zorder Issues

  1. #1
    Join Date
    May 2003
    Location
    Saskatoon
    Posts
    31

    Zorder Issues

    Hello

    I am building an activex control in which when a textbox control receives focus, I try to display an image box in front(on top) of the text box. However, even when I set the image box's zorder to 0, I still have it showing up BEHIND the textbox. Is there any way for me to force the image box control on top with API?

    Thanks

    Andrew

  2. #2
    Join Date
    Jul 2003
    Location
    I'm Here!
    Posts
    31
    Are you sure the container is the same for both objects?

    What about hiding one when the other is in focus?

  3. #3
    Join Date
    May 2003
    Location
    Saskatoon
    Posts
    31
    Hi

    Thanks for the reply. Yes I am sure that they are both on the same ActiveX control. I cannot hide the text box, because I need the user to be able to type in the text box while still having the graphic visible. I essentially need a control level equivalent to the SetWindowPos API.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured