newsgroups-index (beta)

Current group: dbase.dde-ole-dll-winapi

Removing title bar

Removing title bar  
Paulo Pereira [APKomp Brasil]
 Re: Removing title bar  
Rick Miller
 Re: Removing title bar  
Paulo Pereira [APKomp Brasil]
 Re: Removing title bar  
Rick Miller
From:Paulo Pereira [APKomp Brasil]
Subject:Removing title bar
Date:Mon, 17 Jan 2005 23:08:29 -0200
Hi

Is there any way to remove the title bar for an existing MDI window using or
not using API fucntions. I need to have a dBASE MDI window withou the title
bar...

Thanks in advance!

Paulo Pereira
From:Rick Miller
Subject:Re: Removing title bar
Date:Mon, 17 Jan 2005 22:27:09 -0500
Hi Paulo,

see below.

"Paulo Pereira [APKomp Brasil]" wrote in
news:oD8$#pP$EHA.1132@news-server:

> Hi
>
> Is there any way to remove the title bar for an existing MDI
> window using or not using API fucntions. I need to have a dBASE
> MDI window withou the title bar...
>

Below is 1 way with a file from the dUFLP.
It should work as long as the form.windowstate == 0
and the function is called during or after the form.onOpen event.

Note: the sample form :dUFLP:winattr32.wfm shows some possibilities.

Hope it helps,
Rick Miller

function removeCaption
Local oAttr32
set procedure to :dUFLP:winattr32.cc additive
// create:
oAttr32 = new Winattr32(form)

// to set a property:
oAttr32.set("caption", false)
// destroy (very important that you close it,
// or a circular reference to your form may
// be created, and it won't be released ...):
oAttr32.close()
oAttr32 := null
close procedure :dUFLP:winattr32.cc
return
From:Paulo Pereira [APKomp Brasil]
Subject:Re: Removing title bar
Date:Tue, 18 Jan 2005 09:26:17 -0200
Perfect!

"Rick Miller" escreveu na mensagem
news:Xns95E1D9C9FF497rmadv@64.132.211.168...
> Hi Paulo,
>
> see below.
>
> "Paulo Pereira [APKomp Brasil]" wrote in
> news:oD8$#pP$EHA.1132@news-server:
>
>> Hi
>>
>> Is there any way to remove the title bar for an existing MDI
>> window using or not using API fucntions. I need to have a dBASE
>> MDI window withou the title bar...
>>
>
> Below is 1 way with a file from the dUFLP.
> It should work as long as the form.windowstate == 0
> and the function is called during or after the form.onOpen event.
>
> Note: the sample form :dUFLP:winattr32.wfm shows some possibilities.
>
> Hope it helps,
> Rick Miller
>
> function removeCaption
> Local oAttr32
> set procedure to :dUFLP:winattr32.cc additive
> // create:
> oAttr32 = new Winattr32(form)
>
> // to set a property:
> oAttr32.set("caption", false)
> // destroy (very important that you close it,
> // or a circular reference to your form may
> // be created, and it won't be released ...):
> oAttr32.close()
> oAttr32 := null
> close procedure :dUFLP:winattr32.cc
> return
From:Rick Miller
Subject:Re: Removing title bar
Date:Tue, 18 Jan 2005 10:39:30 -0500
"Paulo Pereira [APKomp Brasil]" wrote in
news:qUW0CDV$EHA.1428@news-server:

> Perfect!
----

Glad it worked out,
Rick Miller
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum