Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: bbond007 on February 25, 2012, 03:17:54 AM
-
I have a program that opens a screen.
The example program I took the code from did not have a title and was not movable.
Anyway, I decided that i did want this functionality, so I tried to enable it by changing relevant tags SA_Quiet, FALSE, SA_Draggable,TRUE, SA_ShowTitle,TRUE
the behavior is exactly the same as before and I have been searching for hours trying to figure this out.
Please help.
thanks.
if (!(screen=OpenScreenTags(NULL,
SA_Left, 0,
SA_Top, 0, 0,
SA_Width, 320,
SA_Height,200,
SA_Depth, DisplayBPP,
SA_Title,title,
SA_Quiet,FALSE,
SA_ShowTitle,TRUE,
SA_Type,CUSTOMSCREEN,
SA_DisplayID, DisplayID,
SA_Draggable,TRUE,
TAG_DONE )))
exit(0);
-
SA_Top, 0, 0,
Remove one of those 0,
Doesn't matter which one :)
Tags always come in pairs, not triplets :D
p.s. Please remember me in the credits of your world-changing, revolutionary awe-inspiring game/app/tool/proggy :)
-
Remove one of those 0,
Doesn't matter which one :)
Tags always come in pairs, not triplets :D
p.s. Please remember me in the credits of your world-changing, revolutionary awe-inspiring game/app/tool/proggy :)
I'm not sure if you want to me mentioned in any of my programs because they (the end user) might come looking for you when one of my bad pointers crashes their machine.
I had a bunch of issues and I think I may have caused the error you pointed out while trying different things.
Anyway, I also was opening a boarderless window to get IDCMP messages and having that window at 0,0 was preventing dragging of the screen.
Now the reason the menu bar and depth gadget were not being drawn because I'm doing page flipping and it was getting thrown to the back initally. Fixed it with BlitBitMap.
Thanks!
nate
-
Nice palette! ;)
-
Nice palette! ;)
Disclaimer:
If this app crashes your computer, the actual cause was due to Rebel's palette.