![]() |
![]() |
#1 |
(2b)||!(2b)
Join Date: Mar 2007
Location: Cranbrook, Devon, UK
Age: 50
Posts: 241
|
OpenScreenTagList
Hi again!
Trying to follow the tutorials here: http://www.pcguru.plus.com/tutorial/screens.html I'm having a real problem opening a screen because this: Code:
myScreen = OpenScreenTagList(NULL, SA_Left, 0, SA_Top, 0, SA_Width, 640, SA_Height, 480, SA_Depth, 8, SA_Title, "My New Screen", SA_Type, PUBLICSCREEN, SA_SysFont, 1, TAG_DONE); How can I set up a tag list proper please? I've tried this: Code:
struct TagList *MyScrTags={ SA_Top,0,SA_Left,0,SA_Width,640,SA_Height,256 } |
![]() |
![]() |
#2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,035
|
The first code is wrong. You either have OpenScreenTagList (newscreen,taglistptr); or OpenScreenTags(newscreen,tag1,data1,tag2,data2,....,TAG_END);
In the second code part, struct TagList does not exist. It's struct TagItem. And it should be Code:
struct TagItem MyScrTags[]={ {SA_Top,0},{SA_Left,0},{SA_Width,640},{SA_Height,256},{TAG_END} } |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|