Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: Zorder Issues

202| Fri, 08 Feb 2008 10:25:00 GMT| andrewm| Comments (2)
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

Keywords & Tags: zorder, issues, microsoft, visual basic, vb

URL: http://www.programmerbase.com/visual-basic/560840/
 
«« Prev - Next »» 2 helpful answers below.
Are you sure the container is the same for both objects?

What about hiding one when the other is in focus?

confucius | Fri, 09 Nov 2007 23:41:00 GMT |

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.

andrewm | Fri, 09 Nov 2007 23:43:00 GMT |

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories