website logo
Auteur
avatar
thellier

Forum » » Création-Développement » » Commande pour création de "public screen"


Posté : 26-12-2013 15:46 icone du post

Hello guillaume

J'ai jamais essaye mais selon cette page
http://amigadev.elowar.com/read/ADCD_2.1/AmigaMail_Vol2_guide/node 0091.html
il faudrait plutôt faire comme ça :

if (screen = OpenScreenTags(NULL, SA_DisplayID, HIRES_KEY,
SA_Depth, 2, SA_Title, "Mon Public Screen",
SA_PubName, "PublicScreen",
/* By providing the public name, you indicate
it will be public */
SA_Pens, dri_Pens,
SA_ErrorCode, &oserror,
TAG_END))

{
/* change mode from 'private' to 'public' */
oldstatus = PubScreenStatus(screen, 0);}
}

Cet article provient de Le site des utilisateurs francophones actuels et futurs d'AmigaOS 4.x
https://amiga-ng.org/viewtopic.php?topic=1739&forum=14