History of Changes in Version 1.x
Version 1.9.1 (17/Oct/2002)
- Version number now resides in iup.h (it is also included in the library during
- IupLabel with \n was not working.
- Line-break in attribute IUP_TIP is now accepted.
- Double-click in the Windows top-left corner made the program crash.
- IUP_READONLY was only accepted if used before IupMap
in a IupText or IupMultiline.
- Windows was limiting initial elements of a IupList to 999.
- New attribute FULLSCREEN created.
- The codes of the numeric keyboard when the CapsLock was turned on were not mapped correctly to IUP.
- New callback added MENUSELECT_CB (called when the mouse hovers over a menu or
item.) - not fully implemented.
- Fixed IupList ACTION callback calls for pre-selected items on the first selection change.
- IUP_MOTFONT did not accept IUP fonts. Now it accepts both native fonts and IUP
- It is acceptable now to select an option in a popup menu with any mouse key.
- Attribute IUP_STATUS in a filedlg was not working in a silicon.
- Better error messages.
- In the iuptree control, the callback BRANCHOPEN_CB
was not passing the node parameter.
- In the iuptree control, new functions were implemented to associate and retrieve a
Lua Table from a node or leaf.
- IupGLCanvas binding.
- Expand and collapse no more alters selection of elements.
- When all nodes were deleted using "DELNODE0", "CHILDREN"
inside a tree_selection callback, the program crashed.
- BRANCH_OPEN now passes parameter node.
- IUP_DEPTH now works for folders and leaves. Attention: the depth works only with
the appointed element, not with its children.
- Some conditions necessary for a DEPTH change were wrong.
- Redraw optimization.
- When a tree was big, the scrollback was not working properly.
- When the tree was totally expanded and the scrollbar was all down, collapsing folders made the thumb be wrongly
- PGDN and PGUP were stopping in any folder that was
- Even when the user did not want a folder or leaf to be selected, sometimes the tree allowed it.
- When the tree's folder does not have children, an empty box is shown next to it (instead of the + and - symbol.)
- Sometimes an error occurred in selection when a double click was done in a tree.
- Callback RENAMENODE_CB now works correctly.
- When the TreeSetValue function was used to define a tree, using a folder with no
leaves made the program crash.
- New attribute "COLORid" allows the text color to be changed.
IUP_REPAINT was not repainting the elements in its
- The attributes IUP_DEFAULTESC and IUP_DEFAULTENTER
of a dialog were not working in Windows (they work only when the matrix is not in edition mode.)
- The matrix did not show the selected elements when the focus passed to another interface element.
- In a dropdown, when the user left edition mode changing the focus away from the matrix, the previously entered
value was lost.
- Selection with the control key now works for selecting and deselecting.
- The cell with the input focus now draws the selection status.
- The attribute IUP_MARKED now works after the matrix is mapped.
- The matrix now starts with no cell selected.
- Clicking on the first column of a marked line with MARK_MODE LIN now also
deselects the line.
- When MARK_MODE is LIN,
COL or LINCOL the selection is not done on the focused cell.
- When MARK_MODE is CELL and
MULTIPLE is NO the whole line cannot be marked.
- When MARK_MODE is NO nothing can be selected.
- The [TAB] key in the matrix now changes focus to next element.
- When MARK_MODE was NO (default), after leaving the
edition mode with [ENTER] the cell was being marked.
- Mousemove is now standardized.
- Idle is not used anymore (better optimization and code simplicity.)
- Minimum and maximum value when different from 0 and 1 now work.
- Clicking a position in the middle of the IupVal now work correctly.
Version 1.9.0 (18 Dec 2001)
- The K_ANY callback now considers the state of the CAPSLOCK key. The native
behavior of the combination of the keys CAPSLOCK and SHIFT was kept.
- New binding for IUP: Lua 4.0.
- New binding for IupMask.
- Driver Windows now deals only with messages generated for IUP elements (this used to be a problem with CD's print
- Label fonts did not work when set before IupMap.
- Attribute IUP_FILTERUSED now can be set on before the creation of
- Tip in Windows now accepts \n.
- Tip in Windows is now modified immediatly after it is set though programming.
- Tip now can be removed immediatly.
- In a SubMenu, the attribute ACTIVE was not working
- The OPEN_CB callback was implemented in the SubMenu.
- Callback OPEN_CB in a SubMenu was providing wrong
- Attribute IUP_BORDER in a dialog was working differently from the manual
when the window manager was sawfish.
- iupMask was becoming unstable when the user set the attribute
IUP_SELECTION in a IupText.
- There was a bug in the IupMask-IupMatrix
- Adding a new column or line is now correctly dealing with color inheritance.
- There was IUP_MARK_MODE defined but not: IUP_LIN,
IUP_COL, IUP_LINCOL and
- The drop_cb callback was being called for any focus change. It is now being called
just when the matrix enters edition mode.
- The matrix was not showing the selected cells when the user changed focus from the matrix.
- The matrix was not calling K_ANY from the parent if the callback had been set
after matrix creation.
- IUP_RIGHTCLICK_CB is now called IUP_CLICK_CB. This
callback is now called for every mouse button.
- New callback IUP_MOUSEMOVE_CB.
- Attribute IUP_MARKED now also sets.
- IupTree's binding now exports functions to set and get ID.
- Redraw is now done with one attribute. This avoids unecessary redraw when the user
wants to insert a lot of data.
- IupTree now takes leafs and nodes before IupMap.
- Clicking to select a LEAF was not always working in Windows.
- BRANCHOPEN and BRANCHCLOSE callbacks were not
testing the return value correctly.
- Double clicking was not working propertly. When the user clicked a node, while the timer was still waiting for the
second click, it was impossible to click a nother node.
- Hitting the space button with CTRL pressed now marks the element immediatly.
- SELECTION_CB callback was created. This callback is called when any type of mark
is made on the Tree. The return value blocks this action.
- Removed callbacks BEFORESELECTION_CB and
- Setting IUP_VALUE though programming does not activate callbacks anymore.
- Keyboard control, including arrow keys, PGUP, PGDOWN, HOME e END were not working propertly.
- Clicking + or - was not activating the SELECTION_CB callback.
- SELECTION_CB is now in the binding. BEFORESELECTION_CB
and AFTERSELECTION_CB are not.
- The IUP_MARKEDid attribute now returns IUP_YES or
IUP_NO depending on the state of the node's mark. If the node does not exist, the
returned value is NULL.
- IupTree was breaking when it tried to erase a marked node inside
- The BRANCHCLOSE_CB callback was not being called for the correct node.
- SELECTION_CB was included in the binding.
- Including a new leaf now does not alter selection.
- Created attribute "ERROR" indicating error in a GL canvas.
- User canvas was not being reactivated after the mouse callbacks.
- IupGetGlobal and IupSetGlobal were not doing
- New function created to get an Ihandle created in C:
- The IUP_BUTTON_CB callback was not being called.
- Functions isshift, iscontrol,
isbutton3 and isdouble are now exported.
- IupPreviousField and IupNextField were not
- The OPEN_CB callback was implemented in the binding with the name
- New callback IUP_MOUSEMOVE_CB for matrix.
Version 1.8.9 (07 May 2001)
- If the user defined FGCOLOR while the matrix was
in edition mode, the application crashed.
- Hitting Esc was causing garbage to be written in the matrix field.
- A bug that made the value_edit callback be called several times was fixed (it was
called several times because the matrix kept trying to exit the edition mode with other events).
- New IupTree control.
- Multiple selection.
- Default image size: 16x16.
- Lua Binding.
- The name of the Lua colorbrowser element has changed. Now it is called
iupcb, not cb.
- The IUP_MULTIPLEFILES attribute was created. Now it is possible, in Windows, to
select several files in a FileDlg.
- IupHelp now only initializes DDE when it is used.
Version 1.8.8 (15 Mar 2001)
The global.h, macros.h, rgb.h and hls.h files are no longer exported by IUP.
Some keys were in conflict among themselves
(shift-home and 4, for instance). Shift-space and Ctrl-space were added to the K_ANY callback (Windows and Motif).
IUP_VISIBLE was returning NULL on IUP when the dialog was not mapped.
IupSetLanguage can now be called before IupOpen();
iuptoolbar and iupfiletext were removed from the distribution.
Several defines (such as strieq) are no longer exported from iupcpi.h
Functions iupAddSymbol, iupGetSymbol, iupgetdata and iupsetdata are no longer exported from the CPI.
The Tip font is now inherited from the element it belongs.
Inserting a text (IUP_INSERT or IUP_APPEND) on Motif was ignoring the maximum number of characters.
Some ITALIC fonts were not working.
Several visibility problems were fixed for
ZBOX inside a ZBOX.
The default value of the ALLOWNEW attribute (in fileopen mode) allowed creating a new file (now standardized).
IupTabs was not considering attribute IUP_ALIGNMENT.
Tabs was not showing the selected element if it was selected while the Tabs was invisible (it was a Motif bug).
The <TAB> key was neither passing the focus
to IupTabs nor taking the focus off it.
The SIZE attribute is now defined for the tabs of IupTabs ICTL_TABSIZE.
Changing the text value for Tabs was not recomputing the Tabs size.
The appearance of IupTabs was enhanced.
IupTabs now sends the focus back to the first element when the user tries to shift right after
the last element.
Now a redraw can be forced on Tabs with the IUP_REDRAW attribute.
Ctrl+arrows was not working properly.
The behavior of the DEL key to delete a set
of cells now also considers the return of the IUP_EDITION_CB callback.
The mark is now shown (not the focus) when
matrx loses the focus (users were having problems
when wishing to hit a button to cause an action over the matrix).
Oh the NT platform, the fields of the
created matrix had the wrong values when an automatic scroll occurred.
Right-clicking the matrix now passes the
control parameter (as in BUTTON_CB) isshift(r), iscontrol(r), isbutton1(r),
isbutton2(r), isbutton3(r), isdouble(r)
Vertically scrolling by dragging the thumb
now works properly.
The focus is now correctly drawn inside the
matrix (when only half the cell appears, half of the focus is drawn).
When leaving the edition mode by clicking an
element outside the matrix, the focus was remaining on the IupText in the matrix.
Colors and alignments are now moved when a
cell is moved either by adding new lines or columns or by deleting lines or columns.
The matrix now leaves the edition mode
whenever lines or columns are removed.
When the user clicked a cell near the end of
the matrix (on the x coordinate) an automatic scroll was made and the cell beside the desired cell was marked.
KEY in IupItem was replicating the underlined KEYs (and some times adding the wrong values because of that).
Now works properly with all controls.
All elements now have examples at least in
IupLua and C.
The IupMask manual was created.
Version 1.8.7 (23 Nov 2000)
The alignment of composition elements can
now be changed on-the-fly.
Current language treatment has been changed.
putenv no longer works! Use new functions
IupGetLanguage. Default language: Portuguese.
IupAlarm's design was reformulated. Now all buttons
have the same size.
IupMapFont were created to make the use of the
drivers fonts easier.
IUP_FONT now accepts a string either with the native
font or the IUP font, and always returns the native font (attributes
MOTFONT are now obsolete).
Motif did not have
IupList in dropdown mode.
IUP_VISIBLE attribute now works for
FRAME, ZBOX, VBOX, HBOX and
RADIO (all elements were tested). Now it is no
longer lost for internal
HBOX elements when the
HBOX visibility is changed.
When the user changed from one
ZBOX to another, the first one was forgetting
which elements were visible.
Toggle 1 (default) begins deactivated, it no longer
remains marked forever.
Toggle with image now accepts images
IUP_IMINACTIVE, but it follows the Windows standard for
Toggle was not verifying whether it was active or
not when it was created.
Canvas redraw was optimized. The canvas now
uses transparent color as default. The user is in charge of drawing the canvas, but now it no longer blinks when a
redraw is made. Tip: To avoid unnecessary canvas redraws, do not put it inside a frame and use the
Radio) with a value and then modifying it via
callback was marking both toggles.
Toggles color (IUP_FGCOLOR) was not working on Windows unless its
background color was also changed.
IupItem outside a submenu was not calling the
On Windows, the
IUP_HOTSPOT attribute was being read incorrectly (the
correct form is with ":").
DROPDOWNs function in Matrix was corrected. Now the
user fulfills the dropdown values, which always start at position 1. If the user wishes, he/she can set the initial
dropdown value by checking the
IUP_PREVIOUSVALUE attribute about the dropdown element passed
as parameter. This attribute returns the previously selected string value.
Dropdown now enters edition mode just as regular
Dropdown can automatically close after the users
choice. Simply return
IUP_CONTINUE for the callback chosen by the dropdown.
Now the dropdown accepts the ESC key,
restoring its previous value.
An element with focus is now drawn with
The color of a selected element is now 20%
When the user entered edition mode using the
mouse and exited it hitting ENTER, the cell remained selected.
Matrix no longer gets lost when it has 0
Matrix was not accepting a user to return a
constant string with \n from a callback.
A Matrix that loses the focus does not lose
the selection (but it is not apparent).
TAB no longer changes cells in the Matrix
(it now changes IUP elements).
Hitting delete on a marked element deletes
Matrix leaves the edition mode when
IupTexts exit arrows are used.
There was a computation mistake in cell size
when the Matrix was in edition mode.
When the user scrolls, the Matrix exits the
ALL problems caused by
cdActivate in Matrix were solved.
Other Extended Controls
The element from IupGL was not getting the
focus when it was the only element in the dialog.
In IupGL, OpenGL now synchronizes its
functioning with Motif (glXWaitX) at resize.
IupGC now works with
IUP_ENGLISHs variable set (cancel/cancela,
IupGauge now accepts changing text or percentage
Tabs font now has a differentiated color
when it is inactive.
IupScanf at IupLua was not performing the final
IupSetLanguage, IupGetLanguage, IupMapFont and
IupUnMapFont were created at IupLua.
It now considers the
The callbacks in IupLua are now inherited
k_any from a dialog is called when
IupCanvas does not have
The librarys opening message now follows a
IupLua was passing Luas pointer to IUP
instead of copying its value in
IupSetHandle (making it crash).
iuplua was not running with
iuplua now accepts several files as a parameter.
iuplua is now joined with
iuplua now shows line number and cursor column.
Version 1.8.6 (21 Jun 2000)
All libraries were generated for AIX 4.3.2,
which is available in new IBM machines.
A series of memory management problems was
solved for all platforms.
IUP_SELECTEDTEXT now can also be used to change the selected
text in a
IupLabel element now takes the
IUP_ALIGNMENT attribute into account.
IupList (dropdown) element now always leaves some
option selected (unless there is none to select).
When the selected elements value in
IupList (dropdown) is changed, it now remains
selected with the new value.
The user manual is now also available in
several Windows Help formats, including the help format for Visual C++ (5 and 6). To configure your account for Visual
C++ to access IUPs Help, run
W:\iup\help\iuphelp.reg (ATTENTION: On Visual Studio, IUPs manual
must be activated and deactivated through option Help -> Use extension Help). Other available formats can be found
A general revision of the user manual is
The CPI manual was rewritten.
Several examples were included.
An application called iupluatest (W:\iup\bin) was created to run the IupLua examples
included in the manual (it works with the controls using the installed DLLs).
There is no longer any restriction for the
number of dialogs created using IUP (the only limitation now is Windows capacity to create native elements).
IupToggle were being improperly called when a
IupHide or a
IupShow was made on the dialog.
A bug when drawing an image associated to a
IupToggle element was fixed.
The functioning of attributes
IUP_DEFAULTESC was corrected.
Now, when a user changes the selection of a
IupList via programming, IUP internally updates the
IUP_BGCOLOR attribute to define a new cursor was not
standardized with the Motif, and color 0 in the Windows image was never allowed to be transparent.
A bug in the dropdown list was fixed. It was
not calling callback
GETFOCUS_CB, causing instability in the
The transparency color in a cursor now must
be color number 0 (according to the manual, this is the way it was supposed to be).
IupList (dropdown) callback is no longer called for
element 0 (which does not exist).
A button in a
Popup dialog was only allowing to be pressed via
mouse. Now it can be pressed with the space key.
The IupSetAttribute(x,IUP_VISIBLE,IUP_YES) call, when
x was a dialog, was not working.
IupHide with a frame, with
[hvz]box or with
radio was not the same thing as calling IupSetAttribute(n,IUP_VISIBLE,IUP_NO)".
IUP_MOUSEPOS position in a dialogs
IupPopup was not functioning.
Several memory leaks were fixed. They
IupGetAttribute called functions from XM which allocated
memory to store the attributes value. This change may cause problems for applications which did not copy the value
IupGetAttribute and used the returned string. This usage of
the return value from
IupGetAttribute is not appropriate, because the user has to
copy this string if he/she intends to remain using it (the returned string is intern to IUP).
Close callback was not closing the application
when it returned
IUP_ACTION callback from
IupMultiline was not returning the new text value if the
key was validated (parameter after).
The dropdown list was not automatically
showing the first element when it was opened.
The Motif now returns the default
font when IupGetAttribute(n,IUP_FONT) is performed.
The names of callbacks
map_cb were corrected.
A bug that made a toggle image not appear
The default cursor of the
IupMatrix element now looks like the MS Excel cursor.
(Remember to call
IupMatrixOpen() even when using IupLua!)
Alignment (center) of the field in column 0
of the IupMatrix element.
The user can now return
IUP_CONTINUE at the action callback of element
IupMatrix to allow IUP to go on treating pressed keys
in the conventional IUP way.
The dropdown list at
IupMatrix was losing its current value when the user
IupGetColor element was being drawn outside the canvas
(old problem in
The font in
IupTabs is now inherited.
ICTL_ACTIVE_FONT, ICTL_INACTIVE_FONT, ICTL_FONT were implemented in the
IUP_MARGIN was implemented for the
Version 1.8.5 (18 Apr 2000)
The versions of libraries IUP and IupLua
were synchronized. From this version on, these tools will be distributed together.
The library generation mechanism was changed
to use libmake. All DLLs are available and following the same standard as the DLLs of other Tecgraf libraries.
A FAQ was created for IUP:
Several memory management problems were
IUP_DIALOGTYPE can now assume three values:
IUP_OPEN, IUP_SAVE and
IUP_DIR. Due to the creation of
IUP_ALLOWDIR attribute is no longer used.
One more value was added to attribute
BGCOLOR: IUP_TRANSPARENT (used only by the Canvas to avoid
IupGetError was removed from
IupDataEntry was removed from
iupdrvSetIdleFunction was added to make the Windows
compatible with Motif.
The bug that made IUP crash when using
MessageBox inside a button callback was fixed.
IupDestroy now reconfigures the button control
function (it was making IUP crash).
IUP_READONLY attribute was implemented (valid for
IUP_FILTERUSED attribute was implemented: it informs which
is the filter selected by the user (1, 2, 3...).
A bug that caused
IupPopup(IupMenu(item)) not to call the items callback was fixed.
IupDestroy was corrected. In a
IupFrame, it made IUP crash.
IupList was corrected. It crashed when the user
changed its elements and tried to set
The memory leak at
IupGetFile was removed.
List elements were not being correctly
The bug in the NT matrix was fixed. It was
not refreshing added elements (the values on the cells were wrong).
The bug in the scroll matrix was fixed.
Version 1.8.4 (09 Dec 1999)
A problem, which called the dropdown
callback even for an already-deleted element, was fixed.
IupHelp is now available.
A bug was fixed; it caused excessive system
resource usage when dialogs with several elements were used.
The size of the version dialog was corrected.
A bug was fixed; it made IUP crash depending
on the use of
MessageBox. Same for
IUP_BUTTON_CB was added for the
A bug was fixed; it made
IupGetInt(d,IUP_X) return a wrong value when the dialog was
The color inheritance problem was fixed.
Corrections were made to the
Attributes of colors
FGCOLOR, BGCOLOR, and fonts
FONT, WINFONT, MOTIFFONT.
Version 1.8.3 (15 Jun 1999)
IUP_ACTIVE attribute now also works in the frame.
action callback in
Multiline now also accepts the DEL key.
Toggle element now accepts an image.
IUP_TOOLBOX attribute was implemented for dialogs.
A bug was removed; it made a second
IupShow in a dialog reset its position to the
center of the screen.
Treatment of the
RASTERSIZE attributes was changed.
IUP_ACTION callback now treats the DEL key and
commands and keys from the Cut and Paste menu.
A conflict was solved; it made the key
- generate a call to the callback as if it
Keyboard accelerators for menus now work,
since the focus is no longer on the dialog. When a dialog receives the focus back, it sets the focus to the last
control inside it that had the focus.
IUP_K_ANY no longer issues beeps when keys are
pressed on the canvas.
IUP_STARTFOCUS attribute is not defined, the focus is set
for the first control in the dialog that accepts it, thus preventing the dialog from keeping the focus and allowing
the menus to be called via accelerator.
IUP_SELECTION was implemented.
Color management for 8bpp displays (256
colors) was re-implemented. Basic colors used by IUP (black, white and the grays used for highlight and shadow) are
now reserved, and the search for colors in the palette was optimized.
Elements such as
IupCanvas now have their own visual, independent from
their parents. If allowed by the display, the default visual of a canvas will be TrueColor (24bpp); if not, it will
be the same as the default display visual.
IupToggle element now processes the IMAGE attribute
differently: it now shows the toggle with the same appearance as the
IupButton element, but maintaining its functionality
the button remains pressed until the user clicks it again. The
IMPRESS attribute can be used to define the image
used for the pressed button. In this case, the user is in charge of giving it a 3D appearance.
IMPORTANT: The size of the dialog can be
adjusted after being mapped, by means of the
The size of the dialog has now precedence
over the smallest size required by its children (either having been specified in its creation or in run-time).
NULL value to the
RASTERSIZE (in C) of a dialog will re-compute its size
according to the size of its children.
Partial dimensions (###x and
x###) are now treated correctly.
Therefore, applications that define sizes
for dialogs (either in LED or in C) smaller than the minimum size required by their children will show truncated
dialogs. To force a computation based on the size of the children, set any of these attributes to
NULL (in C) or simply do not define them in LED.
As a general rule, avoid specifying a dialog size unless there is a real need for such in this case, be careful to
specify a sufficient size.
The default value for the
DIALOGTYPE attribute was not being recognized (the
program aborted when there was no defined value).
ALLOWNEW = NO, the dialog informs if the user is
specifying a non-existing file (instead of simply returning, as was happening).
When the dialog type was
OPEN, the returned value was
1 (Cancel) even when the user confirmed the
SAVE, a confirmation is required if the file
A new dialog was created for each popup
without destroying the previous dialog.
NOCHANGEDIR attribute was implemented.
The dialog does not return if the user
specifies a new file when attribute
ALLOWNEW = NO. The same happens when attribute
ALLOWDIR = NO and a directory is specified. In these
cases, alerts are shown.
iupGetColor function for CPI controls was replaced in
functionality by the
iupGetRGB function (iupGetColor is maintained for compatibility purposes,
but it should no longer be used).
TRUECOLORCANVAS was created. It indicates if the display
allows the creation of
TrueColor windows (> 8bpp), even if the default is
Tabs: a problem was fixed concerning the use
VISIBLE attribute for elements belonging to a
IupHelp: allows using a browser (default =
Netscape) for viewing HTML pages.
ACTION_CB callback, from
IupText, now receives, apart from
char* pointing to the new text value in case the
key is confirmed.
Dropdown lists were not correctly processing
A problem with the initialization of
multiple-selection lists was solved: the
VALUE attribute was not being respected in some
BGCOLOR from the dropdown list were not being
IupLoopStep was re-implemented: now it no longer blocks
when there are no events to be processed (it simply returns
The dropdown list is closed when the
associated textbox is totally or partially darkened.
The dropdown list was not being closed when
the dialog lost the focus if
IupIdle was registered.
A problem in the exhibition of CPI controls
New return code (CONTINUE) was created, specific for key callbacks,
to be used when the event is to be propagated to the parent of the element receiving it.
In some situations, elements destroyed by
IupDestroy were receiving events, making the
The redefinition of items in the main menu
was making the dialog return to its original size.
BGCOLOR in a dropdown list was aborting the
FGCOLOR of a canvas with a different visual from
the default was generating an X-Windows error message.
The problem with
IupFileDlg was fixed (the application was aborting).
IupDestroy in a bar menu was inducting an infinite
loop to the application.
The list now matches the documentation: it
calls the action callback for the de-selected element (with the
v = 0 parameter).
Bug correction: The use of a Motif attribute
instead of a function was making Motif lost control of memory management (memory already liberated was liberated
again, which aborted the application).
SIGSEV when the user pressed ENTER.
IupMapFont for mapping IUP fonts -> Motif.
Windows (12 Jan 99)
char* IupMapFont( char* font ) converts a IUP font describer (used by the
IUP_FONT attribute) into a native font describer
File Drag & Drop was implemented in dialogs
and canvases, via the
IUP_EXTFILTER was implemented for the
IupFileDlg control, allowing the use of more than one
Changes were made to allow the creation of
CPI elements other than
IUP_ACTIVE attribute of a dialog can now be changed
after it was mapped.
List callback correction: the callback is
now called both for selected and not selected items.
void IupHelp(char *url) shows a URL in a Netscape window.
The treatment of the new return value for
IUP_CONTINUE, was implemented.
IUP_CURSOR attribute was implemented.
A code was added to treat the case of toggle
IUP_CARET now uses , as a separator instead of old :.
A restriction was eliminated that prevented
iupGetTextSize from being called passing a dialog or frame
as a parameter.
New text callback was implemented; it
receives the text both before and after the change, and receives the code of the typed key.
It was possible to set two activated radio
toggles by selecting
VALUE for one of them on the radio and
VALUE = ON on the other toggle.
IUP_STARTFOCUS, IUP_DEFAULTENTER and
IUP_DEFAULTESC were implemented.
IUP_VALUE of a
IupRadio was not allowing to be changed if it was
A problem was corrected for the lists, which
were being reset between a
IupShow/IupPopup and another.
IUP_SELECTEDTEXT was implemented. It returns the selected
text (if there is any), with the \r already filtered.
A bug was corrected; it caused and
Assertion Failed when the mouse was moved after a window was destroyed.
The value of
IUP_VALUE of a
IupText and a
IupMultiline now does not contain \r.
Motif v1.8.2 (14 Aug 98)
IupFileDlg was corrected: the
IUP_DIR attributes were not being treated correctly.
In some specific situations, closing a
dialog could lead to the end of
IupMainLoop, causing an abortion of the application.
Windows v1.8.1 (17 Jul 98)
Correction: IUPs Matrix element was being
shown with different fonts from the ones used by IUP, especially on UNIX platforms.
A bug related to
ZBOX was fixed.
Multiline now includes \n at the end of the text.
A font set by CD no longer affects canvas
IupSetAttribute from a
VALUE with the name of a toggle with more than
one name now works.
Default attributes now store values that
match the documentation.
IupFlush was implemented.
Small errors in dialog size computations
Now the dialog size is changed when the size
of one of its children increases.
Motif v1.8.1 (16 Jun 98)
Correction: IUPs Matrix element was being
shown with different fonts from the ones used by IUP, especially on UNIX platforms.
Dropdown list (combo box) remained opened if
the element was hidden or destroyed.
The use of popup dialogs was sometimes
preventing the last
IUP_DEFAULT) from ending
button press event was not being received by the canvas
when the CTRL key was pressed.
Version 1.8 (29 May 98)
General (also includes changes to both
Valuator, Dial and
Gauge could cause an invalid memory access on
The parse of CPI elements described in LED
Valuator was removing the applications idle
IupSetGlobal, IupGetGlobal and
IupStoreGlobal functions for global attributes.
K_sCR key; shift-enter combination is now treated
by IUP (callback:
IUP_TYPENAME attribute returns the name of the element
NEW: CPI popup method.
NEW: Definition of global attributes
IUP_VERSION, IUP_DRIVER, IUP_SYSTEM and
IUP_Y were implemented, for dialogs only. They
provide the dialogs upper left corner coordinates in relation to the upper left corner of the screen.
IUP_SHRINK attribute to change the computation of the
position and size of elements.
NEW: CPI control for an OpenGL canvas.
IUP_TYPE attribute of the
IupFileDlg control was changed into
IUP_DIALOGTYPE, which must contain
OPEN, SAVE or
IupSetAttributes function now returns the
IupSetAttribute function no longer returns the old value.
CHANGE: CPIs create method now creates the
CHANGE: New function for CPI class creation.
CHANGE: Some obsolete definitions of
iup.h are now only available when the
IUP_COMPAT macro is set.
ICTL_TYPE attribute of the
IupTabs control was changed to
iupkey_open function allows using IUPs key definitions
NEW: Image now accepts BGCOLOR color. This turns the color associated to
the index into the background color of the element linked to the image.
IUP_TITLE attribute of the
IupItem element can now be changed after the
element has been mapped.
A color problem was fixed; it occurred when
the name or path of the executable file contained spaces.
The dropdown list no longer remains on the
The computation of scrollbar attributes
POSY was fixed.
Double-click was only being generated for the first
FRAME layout was corrected.
The color of the menu item was corrected.
The management of the nested elements of a
ZBOX and/or with the
VISIBLE attribute defined for its children was
The color remained undefined when the value
BGCOLOR was not valid.
General cleaning was made to remove memory
leaks from the driver.
IUP_Y to provide the pixel position of any
IUP_RASTERSIZE can be consulted.
NEW: Menu item now accepts \t to align the text to the right Windows
already allowed it.
NEW: Version number was added; can be
Multilines scrollbar is no longer deactivated with
BGCOLOR no longer affects the scrollbars.
The implemented code was made compatible
with manual specifications.
iup.h was changed to reflect that. To use old
IUP_COMPAT before including the
iup.h file to the applications.