Type mismatch error when using show method on MDI Child with borderstyle=4 (fixed toolwindow) 
Author Message
 Type mismatch error when using show method on MDI Child with borderstyle=4 (fixed toolwindow)

Hi all,

When I try to show an MDI-Child form with (using the show method) that has a
borderstyle property of 4 (Fixed Toolwindow), I get a Type Mismatch Error
(13). I can't find anything on MSDN that tells me if this is not supported.

The idea is to create a floating window (like a floating toolbar) that stays
always on top (using SetWindowPos). The form should only have a close button
and it must be contained in the MDIForm (actually, it would be even better
if I could contain this form in a MDIChild form).

Any ideas?

Thx

Sven De Bont
Marketing Map



Tue, 31 Aug 2004 18:57:36 GMT  
 Type mismatch error when using show method on MDI Child with borderstyle=4 (fixed toolwindow)



Quote:
> When I try to show an MDI-Child form with (using the show method) that has
a
> borderstyle property of 4 (Fixed Toolwindow), I get a Type Mismatch Error
> (13). I can't find anything on MSDN that tells me if this is not

supported.

Show the code.



Wed, 01 Sep 2004 04:04:13 GMT  
 Type mismatch error when using show method on MDI Child with borderstyle=4 (fixed toolwindow)
there's not much to it:

load form1
form1.show '--> this line genarates error 13 when the borderstyle of form1 =
4 or 5


Quote:



> > When I try to show an MDI-Child form with (using the show method) that
has
> a
> > borderstyle property of 4 (Fixed Toolwindow), I get a Type Mismatch
Error
> > (13). I can't find anything on MSDN that tells me if this is not
> supported.

> Show the code.



Fri, 03 Sep 2004 16:21:52 GMT  
 Type mismatch error when using show method on MDI Child with borderstyle=4 (fixed toolwindow)
Can't reproduce the problem.. you're sure that Show is the problem? or is
there code in that child form causing the type mismatch. Do you have SP5
installed?

--
Ken Halter
MS-MVP-VB
Please keep it in the groups..



Quote:
> there's not much to it:

> load form1
> form1.show '--> this line genarates error 13 when the borderstyle of form1
=
> 4 or 5





> > > When I try to show an MDI-Child form with (using the show method) that
> has
> > a
> > > borderstyle property of 4 (Fixed Toolwindow), I get a Type Mismatch
> Error
> > > (13). I can't find anything on MSDN that tells me if this is not
> > supported.

> > Show the code.



Fri, 03 Sep 2004 23:31:16 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. MDI Child form size changed when BorderStyle = 2 (sizable)

2. MDI Child form size changed when BorderStyle = 2 (sizable)

3. Type Mismatch error on an OpenRecordset method

4. VB5 Calling ActiveX method - Type Mismatch error

5. VB5 Calling ActiveX method - Type Mismatch error

6. Type Mismatch Error using QueryDef

7. Using CurrentDB() receives Type Mismatch Error 13

8. Type Mismatch error using DAO

9. 'type mismatch' error using early-binding

10. Type Mismatch Error in Using ListView

11. Type mismatch error using ADO / ASP / VB COM Component

12. VBScript with ASP using Len() function gives Type Mismatch error

 

 
Powered by phpBB® Forum Software