ActiveX Control, Displaying modeless form -- Error 401
- From: "jroozee@xxxxxxxxx" <jroozee@xxxxxxxxx>
- Date: 12 May 2006 10:40:00 -0700
I know you can't display a modeless form when a modal form is
displayed. (VB 101). However, here's my issue.... I created an activeX
control that is basically a drop-down menu (similar to a ComboBox). The
drop down menu it self is a Form that I am show. Whenn I place my
ActiveX conrol on to a from in my parent application, then I show that
form as a Modal, then when I click to show my drop down menu, i get
error 401 "can't show non modal form, when modal form is displayed".
(No kidding). I can't show my form modally because I do not want the
parent application to loose focus.
I guess I need a way to show the from in a seperate thread? Or what? If
I was to use CreateWindow API, I'm sure I'd be able to do it, but
there's gotta be a easier way.
Thanks
Jason
.
- Follow-Ups:
- Re: ActiveX Control, Displaying modeless form -- Error 401
- From: David Youngblood
- Re: ActiveX Control, Displaying modeless form -- Error 401
- From: J French
- Re: ActiveX Control, Displaying modeless form -- Error 401
- From: Robert
- Re: ActiveX Control, Displaying modeless form -- Error 401
- Prev by Date: Re: Interface
- Next by Date: Help needed
- Previous by thread: Interface
- Next by thread: Re: ActiveX Control, Displaying modeless form -- Error 401
- Index(es):
Relevant Pages
|