comment faire une fenêtre qui ne bouge pas pendant l'exposé ?

blackDahu

Membre enregistré
6 Septembre 2004
6
0
38
bonjour a tous

je fais actuellement une application cocoa/applescript avec Xcode qui affiche des informations sur le bureau jusque-là aucun problème mais quand j'utilise "show desktop" de l'Exposé (F11 par def.) ma fenêtre vas sur le bord avec toutes les autres fenêtres.

auriez-vous une solution pour que ma fenêtre ne bouge pas pendant l'exposé ?

exemple d'une application avec une fenêtre qui ne bouge pas : Stattoo
merci d'avance, j'attend vos réponses avec impatience :)

Robin G.
 
je n'arrie pas a le fair
pourriez vous metre un lien vers un exemple d'application svp

c'quoi "kCGDesktopWindowLevel=0x80000015"?

c'est quoi qui fai que ça ne réagit plus à exposé ?
 
NSWindowLevel enums:
NSNormalWindowLevel - The default level for objects.
NSFloatingWindowLevel - Useful for floating palettes.
NSSubmenuWindowLevel - Reserved for submenus. Synonymous with NSTornOffMenuWindowLevel, which is preferred.
NSTornOffMenuWindowLevel - The level for a torn-off menu. Synonymous with NSSubmenuWindowLevel.
NSModalPanelWindowLevel - The level for a modal panel.
NSMainMenuWindowLevel - Reserved for the application's main menu. (The menu bar in OSX)
NSStatusWindowLevel - The level for a status window.
NSPopUpMenuWindowLevel - The level for a pop-up menu.
NSScreenSaverWindowLevel - The level for a screen saver.
kCGDesktopWindowLevel - Under the desktop. (Still accepts mousedown so desktop is useless where the window is located) -

Use these constants with [window setLevel:] to order your window above or below other onscreen objects.

Mais je ne sais pas si c'est faisable en AppleScript