Intuition

Is there a way to find out when a window has actually been activated?

Hi guys.

A long time ago now, on OS4 as it happens, I discovered an issue with ActivateWindow(). It doesn't return when the window is activated as expected. Because of how Intuition works with it's event timers refreshing every 10th of a second or so. This has caused me trouble when working on a commodity that pastes text into the input stream. In some cases, where focus is taken away from the window, by the time the original window has been activated has been too late and my paste has been blanked out.

Forums: 

Draggable Splitter Bar (Split Pane)

Hey everyone,

I have a horizontal layout with (right now) two listbrowsers and I want to place a draggable splitter bar between these widgets, like in the Workbench Find Window or the SDK Browser. I've searched the SDK docs without luck so far. Can anyone point me in the right direction? Is this supported?

Thanks!

Forums: 

Area fill pattern

I'm trying to draw a fill pattern that is supposed to look like the one that checkbox.gadget displays when disabled (ghosted). What would the area fill pattern definition look like? I need to pass this definition as an argument to the SetAfPt() macro, or alternatively, as a tag value to the fillrect image class.

Forums: 

[ListBrowser] error: dereferencing pointer to incomplete type [Solved]

As the title says, i have this error and I don't know what is wrong, it is more a c error than an amiga error but i don't know how to fix it.. here is my code. I am trying to create a simple window with a two column listbrowser gadget.. May you help me please?

Forums: 

Requesters (Modal Windows)

I have been reading about using Requester and creating a Modal Window. The Requester looks like it only works for a single window. So how would I approach disabling multiple windows with one Requester. As example of what I am questioning. If I run DM2 there are 3 application windows 2 directories and one command window. If I open the Preferences from the menu it makes all 3 of those windows disabled for input while the modal preference requester is open.

Can someone point me in right direction?

Regards
Doug

Forums: 

Text Datatype LNF_LINK handling

For the past few days I've been burning my fingers developing a Text Datatype subclass. I wonder if anybody can shed some light on this:

The Text Datatype uses a linked list of struct Line (see datatypes/textclass.h) to gather lines of text for display. Each struct Line represents a segment of text. Now, the ln_Flags field in the structure can carry a LNF_LINK flag to indicate that the line segment is a link.

Forums: 

Menu class and shortcut texts

Short: Is there any way to display, say, and Amiga-key sign using the MA_Key attribute for menu items?

What I want is not a single key+amigakey. It is rather an arbitrary key combination (like "Ctrl+Amiga+N") containing icons for the Amiga keys rather than, say, the word 'Amiga'.

I have found this to be impossible, but would like to prove myself to be wrong.

Forums: 

Pages

Subscribe to RSS - Intuition