Intuition

Iconify

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?

Forums: 

Intuition window alpha masked?

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.

Forums: 

32-bit Intuition Images

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).

Forums: 

Page object: deprecated _GetClass() call still needed?

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?

Forums: 

OpenWindow vs WM_OPEN

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.

Forums: 

Use of WINDOW_NewPrefsHook

Hi,

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.

What is a proper way to handle PREFS changes?

OldFart

Forums: 

Pages

Subscribe to RSS - Intuition