realbasic-nug.it
[Top] [All Lists]

Re: Cerco consulente

To: REALbasic NUG Italian <realbasic-nug.it@lists.realsoftware.com>
Subject: Re: Cerco consulente
From: Massimo Valle <maxduepuntozero@yahoo.it>
Date: Tue, 24 Jun 2008 14:11:20 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug.it-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug.it-bounces@lists.realsoftware.com; domainkeys=pass (test mode) header.From=maxduepuntozero@yahoo.it
Delivered-to: listarchive@realsoftware.com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=PttZqOHAHouNhp4M9w1HX7ywTgjZjBYMTqhI6IEtzSk6PhnKdV3eMWnHyOXcROOkp6CHMRCy8ZdLgHJBoegp4/W3Di6yGDgO57oQRExIoIX8tlajH8DhDImhSBN3ra/nF82I3MO18nBVC2ik0kdJTFQHujystjrZ5bncqifJyHc= ;
Domainkey-status: good (test mode)
In-reply-to: <85B5AAF6-6AD1-4FF0-B1BC-4019AE58EB96@omnidea.it>
References: <FE76FB52-C126-4EF4-9742-92A67674FD30@menssana.to.it> <9715502F-C0E7-4F56-9364-FADF03A9E58C@omnidea.it> <94BAAB86-64DD-4BFE-B846-E060FFD01C5C@menssana.to.it> <24FBA456-29DE-4601-A2DB-DB5E465E6526@omnidea.it> <450A0D72-2A61-4E33-BCFF-10EC02B7BA20@menssana.to.it> <4C445954-B675-45CA-B8BC-DCD95A72DD6D@omnidea.it> <EBF941B2-03A8-4E1C-B1BC-5C3D91A28226@menssana.to.it> <85B5AAF6-6AD1-4FF0-B1BC-4019AE58EB96@omnidea.it>
Reply-to: REALbasic NUG Italian <realbasic-nug.it@lists.realsoftware.com>
Sender: realbasic-nug.it-bounces@lists.realsoftware.com

On 24/giu/08, at 13:38, Gilberto De Faveri wrote:

L'ho modificato leggermente in modo che su OS X la finestra del tag non abbia l'ombra.

http://www.omnidea.it/files/realbasic/code/HelpTag.zip



Attualmente ha un difetto fastidioso: la plain box window, manda in background la finestra attiva. Quindi ho modificato un poco il tuo esempio per avere una toolbar molto più simile all'originale, Quasi indistinguibile. Si tratta semplicemente di definire la finestra come "Floating window" ed eliminare la title bar con una declare. Nel Constructor della finestra, invece di usare una declare per togliere l'ombra, usi la stessa per rimuovere la title bar:
  #if TargetMachO
    'Forzo la rimozione della title bar su Mac OS X
    Const kWindowNoTitleBarAttribute = 512
Declare Function ChangeWindowAttributes Lib "Carbon" (window as WindowPtr, setTheseAttributes as Integer, clearTheseAttributes as Integer) as Integer Dim result As Integer = ChangeWindowAttributes(self, kWindowNoShadowAttribute, 0)
  #endif

Massimo Valle





<Prev in Thread] Current Thread [Next in Thread>