I have not spent too much time on the issue, because I am very busy. But I really want to make an iconify gadget for all Qt windows for the next release. I have searched intuition.h, but I can't seem to find a tag for an iconify gadget. Do I really have to use reaction to get one?
I know, I know, I ask too many dumb questions here...
This time it is about windows: I want to create such a cool borderless shaped window with an alpha mask as I have seen in demos and such. How does one do that? I am pretty sure it has to do with the WA_AlphaClips and WA_AlphaHook tags in OpenWindowTags, but I don't know how to use them. For starters, there seem to be a lack of information in the docs on how to initialize the ClipRect structure. Or I could have just overlooked them. Anyway, I need something tangible, preferably a (small) piece of code to guide my way.
Is it possible to use the blue (depending on your gui settings) area at the bottom of a window for anything else than a scrollbar? If yes then how?
I would like to use it for the QStatusBar class, which at the moment consumes an extra area just above the frame, which seems to me to be a waste of space.
I'm trying to initialize a DiskObject structure by hand. I have called NewDiskObject to get an empty object, which is fine, and now I want to set up the Gadget structure with two images, for which data I have somewhere else in memory (that is the reason for doing it by hand: My Image data is in memory and not on disk).
Topic says most: I tried to use the page gadget and it seems to be a bit troublesome, using the recommended way of opening ReAction classes. There is no documentation about how to use it using a class pointer like it is recommended now (using the OpenClass() call, which is so far for disk based classes only!).
Did I miss something, or is it to be used by GetClass()ing the class pointer until further notice?
What is the difference between opening a window using IIntuition->OpenWindowTags and using IIntuition->IDoMethod(win, WM_OPEN)? In the AutoDocs for the latter, it says "Don't use this function unless you're a class implementor", but yet this is what the SDK example section suggests to do in the LB_Example (SDK:Examples/ReAction/os4examples/ListBrowser/LB_Example).
I know we need an window.class object (with NewObject()) for IDoMethod, and a few tags for OpenWindowTags, so I know they aren't directly interchangeable.
Well, now I'm dabbling a bit more with all those WINDOW_-tags, I came across this one again, which I've tried to put to use several times now without any luck.
I've applied the tag with a proper ti_Data-value, a Hook with a pointer to a proper function. That function does not do much more currently then print out some message on a console window when invoked. What ever I do, after changing some PREFS-file nothing is printed on the console.