Search found 79 matches

by Kwabbernoot
Sep 16, 2011 11:14
Forum: Beginners
Topic: Is FreeBasic capable of generating GUI screens?
Replies: 35
Views: 4656

I've tried some of the simple GTK+ examples. The system demanded more than 20 DLLs !! Is there no other way to do it?
by Kwabbernoot
Aug 07, 2011 16:42
Forum: Libraries & Headers
Topic: XFont Text Render Library [v11.9.13]
Replies: 64
Views: 34144

XFONT doesn't work with 8 bpp depth (256 colors). According to the documentation 8bpp must be possible, but in fact it is not. I've changed the animation example a little bit (added: SCREENRES 800, 600, 8). You only see a black screen. #Include Once "xfont.bi" Dim Shared As xfont.interface...
by Kwabbernoot
Aug 05, 2011 10:22
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 270734

I've extracted: Libevent.a, LibWindow9.a and Libzlib.a from the Project.zip file to the same directory where the source file is located and it compiled correctly (although still 2 warning messages). It works.
Thanks Vanya.
by Kwabbernoot
Aug 04, 2011 19:21
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 270734

I've tried to compile the program. It came back with the following warnings and error: Geometry.bas(65) warning 2(1): Passing pointer to scalar, at parameter 1 of SETWINDOWCALLBACK() Geometry.bas(145) warning 14(0): Function result was not explicitly set C:\PROGRA~1\FREEBA~1\bin\win32\ld.exe: cannot...
by Kwabbernoot
Jul 19, 2011 17:35
Forum: Beginners
Topic: Possible inkey$ problem
Replies: 5
Views: 1495

I understand that the SLEEP statement is used for the Operating System to perform other tasks. The SLEEP can be interrupted by a key press. But how about the GetMouse? Is the SLEEP also interrupted by a mouse move or a mouse click? Suppose you have one subroutine that handles all the keyboard input ...
by Kwabbernoot
Jun 19, 2011 20:36
Forum: Community Discussion
Topic: FreeQ IDEa another IDE supporting FreeBasic
Replies: 64
Views: 27703

John, The background colors are now correct. However for the foreground colors the system does not recognize all the FreeBasic keywords, like: USHORT, UBYTE, UINTEGER, the GET statement. Sometimes changing a color results in a change of the size of the characters (font size) on the screen. But after...
by Kwabbernoot
Jun 03, 2011 20:27
Forum: Community Discussion
Topic: FreeQ IDEa another IDE supporting FreeBasic
Replies: 64
Views: 27703

Also I don't get the small edit box, everything looks fine on my end ... more info/screen shot? I am using Windows XP. I could not reproduce the small edit box. Probably it was a combination of changing some color and pressing several times the plus or minus button (for changing the font size). Cha...
by Kwabbernoot
May 30, 2011 17:59
Forum: Community Discussion
Topic: FreeQ IDEa another IDE supporting FreeBasic
Replies: 64
Views: 27703

It still doesn't work properly. If I change the background color to grey, most of the screen turns indeed to grey, but not everything. Not the names of the variables and not some keywords, like: uinteger, ushort, the get statement. They appear with a white background. And the Edit screen is very sma...
by Kwabbernoot
May 24, 2011 18:37
Forum: Community Discussion
Topic: FreeQ IDEa another IDE supporting FreeBasic
Replies: 64
Views: 27703

How can you change the background color? I hate screens with a white background. If I change the backround color under font only the blanks in between are changed, but not the whole screen. Also the Help is not functioning.
by Kwabbernoot
May 06, 2011 9:56
Forum: General
Topic: A very strange problem with seek
Replies: 4
Views: 892

I've tried your program, however I see no problems. It behaves as expected. Did you take into account the carriage returns and line feeds? In an ascii file each line is terminated by these control characters. So the SEEK function returns the byte position in the file including the carriage returns a...
by Kwabbernoot
Feb 17, 2011 20:31
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 270734

There is a way to get documentation. Download a free demo windows pb version. Retain file “purebasic.chm” and remove the rest (via uninstall). Many names and arguments of the GUI functions are identical to the functions Vanya produced.
Free demo
by Kwabbernoot
Feb 16, 2011 19:12
Forum: Libraries & Headers
Topic: GUI library for Windows \ Linux (window9)
Replies: 1050
Views: 270734

Despite the warning messages (“passing scalars as pointer”) the program did successfully play a MP3-file. Fantastic. But what's in the library files, what is in libevent.a, liblinked_lists.a and libwindow9.a ? Are these PureBasic library files? For instance the function “ButtonGadget” is not mention...
by Kwabbernoot
Feb 09, 2011 9:47
Forum: Windows
Topic: In-Memory Dialogs
Replies: 76
Views: 75684

Ok. Thanks. I've taken your Crosshair0.bas of November 10, 2008 and called it “CrossHairDef.bi” and changed the #include accordingly. And now it's working.
by Kwabbernoot
Feb 08, 2011 21:26
Forum: Windows
Topic: In-Memory Dialogs
Replies: 76
Views: 75684

Hi Michael, I appreciate these examples very much, but the last example doesn't work. I get lots of errors: “duplicate definition” in module Dialogs.bas on the following lines: line 88 Duplicated definition, g_dialog_width in 'Dim Shared As Integer g_dialog_width' line 98 Duplicated definition, g_lp...
by Kwabbernoot
Jan 28, 2011 20:04
Forum: General
Topic: print, fixed length string and wstring buffers
Replies: 13
Views: 3856

I think I'd generally call FB's fixed length strings a bug or unfinished portion. I agree. Fixed length strings contain characters you don't want. 1) If you define a fixed length string in an UDF, FreeBasic adds a null terminator (where you didn't ask for). So it makes that UDF unsuitable for readi...