Re: ARRGH! Help!

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Andrew M (andrewmaxin_at_hotmail.com)
Date: 03/29/04


Date: Mon, 29 Mar 2004 10:51:11 -0600

Everyone.

    I have learned a new thing today. Apparently, you cannot have a
non-modal form in an ActiveX DLL.

Go Figure.

Thanks Anyway,

Andrew

"Andrew M" <andrewmaxin@hotmail.com> wrote in message
news:106gfbna2m9b1e7@corp.supernews.com...
> Ken
>
> Thanks for your reply. I tried this, but VB is still unloading the
> form(without using the regular Unload methods)
>
> On the form, I use SetWindowPos API on load.
>
> '*********************
> Public Sub File(p_strFiles As String)
> Dim objFilingForm As New frmFile
>
> objFilingForm.g_strFileNameInput = p_strFiles
> objFilingForm.Show
>
> Do Until objFilingForm.g_blnCanUnload = True
> DoEvents
> Loop
>
> Set objFilingForm = Nothing
>
> End Sub
> '******************************
>
> If VB is unloading that form without triggering the Form's QueryUnload &
> Unload Procedures, then how can I override that? is there an API that
lets
> me take control over VB6's management?
>
> Thanks
>
>
>
> "Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
> news:%23Gtggp4EEHA.3016@TK2MSFTNGP11.phx.gbl...
> > Make it non modal but always on top....
> >
> > Subject: Re: always-on-top "floating" toolbar
> >
>
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=%23uIgcWqvDHA.540%40tk2msftngp13.phx.gbl
> >
> > --
> > Ken Halter - MS-MVP-VB - http://www.vbsight.com
> > Please keep it in the groups..
> >
> >
> > "Andrew M" <andrewmaxin@hotmail.com> wrote in message
> > news:1069efl9f76fkae@corp.supernews.com...
> > > Hi
> > >
> > > I am building an explorer shell extension that allows me to right
click
> on
> > > some files and brings up a file list (to do some function to them)
> However,
> > > while that modal window(containing the file list) is visible, I also
> need to
> > > be able to drag & drop onto the form. The problem is: that since the
> form is
> > > modal, and I cannot click outside of it.
> > >
> > > My question is: how to I get a modal form to act like a non-modal
form,
> yet
> > > still be one?
> > >
> > > Any help/suggestions would be greatly appreciated!
> > >
> > > Thanks
> > >
> > >
> > >
> >
> >
>
>