December 01, 2024, 11:16:29 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Alpha update 01/02/2006

Started by Ionic Wind Support Team, January 02, 2006, 09:33:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ionic Wind Support Team

January 02, 2006, 09:33:36 AM Last Edit: January 02, 2006, 09:48:11 AM by Ionic Wizard
A new year, a new update ;)  As usual redownload from the link provided when purchasing and reinstall.

Changes/Additions:
--------------------------
- A new way of declaring imported and external functions was added. Allows for easier converting of header files from other languages.

import int SomeAPIfunction(int a);
import void cdecl Anotherfunction(string fmt,...);

- The 'void' keyword was added to indicate a function returns nothing.  Helps eliminate errors when your assigning a function return.
- The 'until' bug was fixed.
- The _ is now allowed at the beginning of a label
- CComboBox, CScrollBar and CStatusBar classes were finished.  CListBox adds WS_CHILD automatically now...it was missing.
- Scrollbar functions added to the windows class for managing Windows created ones.
- OnHScroll and OnVScroll message handlers added to the window class
- SetColor wasn't invalidating the control after a change..fixed.
- ShowDialog added to the dialog class.
- Basic variable define/assign was added.  Meaning you can now do things like this:

int a=100; float b=777.77f;
def s="hello" as string;
double db1, db2=5.0, result=0, temp;
RECT rc = GetWindowRect();

- UCASE$ was missing from the global table.  Fixed.
- 'mdidemo.src' changed to show usage of CStatusBar.

That's about it.   Would have done more but was upgrading my Linux installation and there were a few holidays in there ;)

Paul.
Ionic Wind Support Team

Zen

Wow quite a lot since the last update. You must be working flat out.

Lewis

Ionic Wind Support Team

Forgot to put these defines in 'gui.inc' for the combobox.  You can paste them in there if you want to use a ComboBox control before the next update.



//combobox control styles
#define ACBS_SIMPLE 0x1
#define ACBS_DROPDOWN 0x2
#define ACBS_DROPDOWNLIST 0x3
#define ACBS_OWNERDRAWFIXED 0x10
#define ACBS_OWNERDRAWVARIABLE 0x20
#define ACBS_AUTOHSCROLL 0x40
#define ACBS_OEMCONVERT 0x80
#define ACBS_SORT 0x100
#define ACBS_HASSTRINGS 0x200
#define ACBS_NOINTEGRALHEIGHT 0x400
#define ACBS_DISABLENOSCROLL 0x800
//combobox notification messages
#define CBNERRSPACE (-1)
#define CBNSELCHANGE 1
#define CBNDBLCLK 2
#define CBNSETFOCUS 3
#define CBNKILLFOCUS 4
#define CBNEDITCHANGE 5
#define CBNEDITUPDATE 6
#define CBNDROPDOWN 7
#define CBNCLOSEUP 8
#define CBNSELENDOK 9
#define CBNSELENDCANCEL 10
Ionic Wind Support Team

Ionic Wind Support Team

And another bug...

GetScrollPos and GetThumbPos of the scrollbar class are broken.   Update shortly.
Ionic Wind Support Team

Ionic Wind Support Team

OK...they have been fixed.

Redownload and reinstall.
Ionic Wind Support Team

Parker

The "inline definitions" were added! Along with a bunch of other stuff, thanks Paul. We'll have to look back at the alphas when it's at version 1.0 and see how much was added.

Zen

Quite a lot has been added so far i think. The thing i want the most is the String constants, aslong as they are in the final ill be happy. lol

Lewis

Ionic Wind Support Team

Before anyone asks...yes I know the scrollbars background color is wrong.  Fixed for the next update.
Ionic Wind Support Team