Search found 12 matches

by James Klutho
Mar 11, 2019 0:40
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 278
Views: 34534

Re: FLTK C for FreeBASIC Jan 09, 2017

I downloaded the FLTK library and have been testing it out on my linux mint laptop. I am impressed with the work done here. A small issue with the install though. The instructions to copy the shared objects to my lib folder balked as written: ubuntu: sudo cp libflt-c*.so /usr/lib I simply changed it...
by James Klutho
Jul 10, 2018 21:16
Forum: Projects
Topic: DWSTRING.bi - Dynamic null terminated unicode string data type
Replies: 20
Views: 2430

Re: DWSTRING.bi - Dynamic null terminated unicode string data type

Thank you Jose for your excellent contributions.
by James Klutho
Feb 17, 2018 16:53
Forum: Linux
Topic: Draw signal in GTK3 GtkDrawingArea
Replies: 1
Views: 446

Re: Draw signal in GTK3 GtkDrawingArea

I think I figured out the problem. It appears that the Freebasic GTK3 bindings are a hodge podge of GTK3 and GTK2. The GtkDrawingArea is still basically defined as GTK2. In GTK2, the "expose_event" signal will handle redrawing the contents of the widget whereas this changed in GTK3 to &quo...
by James Klutho
Feb 16, 2018 23:37
Forum: Linux
Topic: Draw signal in GTK3 GtkDrawingArea
Replies: 1
Views: 446

Draw signal in GTK3 GtkDrawingArea

I am using GTK3 and trying to use the GtkDrawingArea widget. When I try and connect the "draw" signal to the widget, the compiler says that the "draw" signal is not recognized by the class. Something is wrong here since I am trying to run an example out of the GTK3 documentation....
by James Klutho
Jul 22, 2017 20:31
Forum: Projects
Topic: EZP a Print Control
Replies: 0
Views: 532

EZP a Print Control

I have been working on a print control in the spirit of DDoc and Virtual Print Engine for the last couple of months. It is a wide-string utility which compiles in 32 or 64 bit in Freebasic for Windows and is in the form of an include file - much like GRD. You might have a look at it to see if it is ...
by James Klutho
May 28, 2017 16:34
Forum: Projects
Topic: GRD for Freebasic (Windows only)
Replies: 4
Views: 1268

Re: GRD for Freebasic (Windows only)

Thanks Cherry for the feedback. I never seem to get scrolling right. I'm on another project now but I think I will return to the GRD and implement your suggestions in a month or two. I will also make an attempt at some documentation which I do even poorer than scrolling :). Jim
by James Klutho
Apr 24, 2017 18:35
Forum: Community Discussion
Topic: Problem making a Dialog Box
Replies: 22
Views: 1976

Re: Problem making a Dialog Box

@ SARG Wow - that did the trick - the CAllocate is what I needed. After dkl comments, I increased the safety bytes from 12 to 300. It seems to compile reliably in 32 bit and 64 bit now. @Everyone who suggested something Thanks to everyone for their input. I could not have done it without you. I trie...
by James Klutho
Apr 24, 2017 0:19
Forum: Community Discussion
Topic: Problem making a Dialog Box
Replies: 22
Views: 1976

Re: Problem making a Dialog Box

@dodicat

I have Win 7 on my laptop. Your changes work in 64 bit but the dialog won't show in 32 bit. I give up. This is too unreliable to use. I will go another route. Thanks for your replies - much appreciated. Jim
by James Klutho
Apr 23, 2017 22:44
Forum: Community Discussion
Topic: Problem making a Dialog Box
Replies: 22
Views: 1976

Re: Problem making a Dialog Box

I see what you mean about a bug in the placement of rval. I can't get any combination of placements to compile in both 32 and 64 bit. A bit frustrating.
by James Klutho
Apr 23, 2017 21:24
Forum: Community Discussion
Topic: Problem making a Dialog Box
Replies: 22
Views: 1976

Re: Problem making a Dialog Box

The INT_PTR did solve the suspicious pointer warning. I should have looked at the declaration of DialogBoxIndirect closer. I got the dialog to run. My problem was that I should have passed the hInstance from my WinMain instead of using GetModuleHandle(NULL) in my DialogBoxIndirect call. Thanks for a...
by James Klutho
Apr 23, 2017 17:57
Forum: Community Discussion
Topic: Problem making a Dialog Box
Replies: 22
Views: 1976

Problem making a Dialog Box

I have been having problems making a simple dialog box appear. Similar code has worked for me before in another language. Can anyone spot what I am doing wrong? I also get a suspicious pointer warning which I can't track down in the DialogBoxIndirect call. Thanks. Jim #include once "windows.bi&...
by James Klutho
Apr 21, 2017 0:30
Forum: Projects
Topic: GRD for Freebasic (Windows only)
Replies: 4
Views: 1268

GRD for Freebasic (Windows only)

I uploaded a grid control at the plantsquires website. http://www.planetsquires.com/protect/forum/index.php?topic=4033.msg30215#msg30215 It is a Wide String control. It is programmed as an include file but could be turned into a DLL without too much work. It can be used as a multi-sheet workbook and...

Go to advanced search