Search found 1378 matches

by jj2007
Apr 26, 2020 8:41
Forum: Windows
Topic: Begging bowl time for José Roca <smile>
Replies: 10
Views: 315

Re: Begging bowl time for José Roca <smile>

When you send a WM_CLOSE message and you process it in the main callback procedure, you have the choices of ignore it, abort it, display a confirmation message or call DestroyWindow. If you ignore it or you don't call DestroyWindow when processing it, DefWindowProc will call DestroyWindow for you. ...
by jj2007
Apr 25, 2020 21:20
Forum: Windows
Topic: Begging bowl time for José Roca <smile>
Replies: 10
Views: 315

Re: Begging bowl time for José Roca <smile>

deltarho[1859] wrote:I looked at FindWindow but I didn't know what lpClassName was.
Have a look at WinID: https://dennisbabkin.com/winid/

Tiny little helper, extremely useful for Windows GUI programming.
by jj2007
Apr 25, 2020 19:43
Forum: Windows
Topic: Begging bowl time for José Roca <smile>
Replies: 10
Views: 315

Re: Begging bowl time for José Roca <smile>

Josep Roca wrote:To end the program, instead of using PostQuitMessage(0) in WM_TIMER, use DestroyWindow(hDlg)
DestroyWindow is a bit rude. Normally, I use Sendmessage(hWnd, WM_CLOSE, 0, 0). Thus, the program can show a MessageBox in case there is something to save before closing.
by jj2007
Apr 24, 2020 15:49
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

for a compiler back-end I prefer an assembler without those kind of built-in functions that make it look like a cross-breed HLL. No compiler back-end here, I use Assembly standalone. For the 5% of coding that I do with FreeBasic, I use an IDE programmed entirely in Assembly. Over 20k lines of code ...
by jj2007
Apr 24, 2020 12:09
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

it is said that NASM's macro support is very powerful Yes, NASM coders say that. Try to implement something simple like Print Str$("The single: %f\n", MySingle), Str$("The double: %f\n", MyDouble), Str$("The integer: %f\n", MyInt) in NASM. A major advantage of NASM is ...
by jj2007
Apr 24, 2020 8:47
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

No higher language should be compared to ASM. It is unavoidable that higher languages have more commands because they are designed to be an abstraction (such as the definition of types) that makes it easier for programmers to get the job done (arguably some HLL's may be more successful in this than...
by jj2007
Apr 23, 2020 13:55
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

i don't see very much bigger simplicity in using masm Masm as a language is neither simple nor complex. The learning curve is a bit steep, but you can get along with a few dozen instructions, like mov, add, inc, sub etc. Compare that to the 1000+ commands of C++. But that's not the point here. It's...
by jj2007
Apr 23, 2020 13:31
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

jj2007 Environment variables for .a and .bi in fb files?? .a files go into the lib folder .bi files go into the inc folder. Absolutely, it's that simple! (note I am not a frequent FB user) 98954 16.03.2019 12:23:26 doc\Print_to_Pdf-master\version_1.1\libPrint2Pdf_32.a 45108 08.03.2019 19:51:06 doc\...
by jj2007
Apr 23, 2020 10:24
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

- why is this forum so crammed full of threads discussing the setup problems when trying to make xyz compile? : compilation types is too confusing ,is really nececery to have all that command line options? Hi Aurel, There's nothing wrong with command line options as long as the defaults work fine (...
by jj2007
Apr 23, 2020 2:03
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

IMHO the problems are more in core concepts like the prevalence of the preprocessor, and header based compilation unit model. Cutting some legacy QB features won't fix much. True. I have no stakes in this since I am more an outside observer than a frequent FB user. My main problems are: - what exac...
by jj2007
Apr 20, 2020 10:48
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

Wine is usually a last resort. I used it long ago to run Dreamweaver 8 on Linux. The problem with Wine was ( probably still is ) that after an update,one or two Windows programs may no longer run. I consider Wine a nasty patch for running programs for which there are no good Linux alternatives. How...
by jj2007
Apr 20, 2020 10:10
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

So what stops the Linux community from using WinAPI on Wine as "the" GUI framework? The name? A general aversion against Windows? Or are there technical arguments? WinAPI is not extremely simple, but there are guides all over the web, and I guess each and every little problem has been disc...
by jj2007
Apr 20, 2020 1:59
Forum: Community Discussion
Topic: What do you use FreeBASIC for?
Replies: 91
Views: 3364

Re: What do you use FreeBASIC for?

MrSwiss wrote:... diligently and therfore permanently improofing yourself ...
(Promissing you: you'll go a lot further that way, than the more talented but lazy person.)
That's not always sufficient, though ;-)
by jj2007
Apr 20, 2020 1:52
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

marcov wrote:The win32 version of Lazarus runs fairly completely under Wine. That's 3.2MLoc of windows code.
So we have a complete GUI framework available on Linux (and MacOS?): WinAPI. And it looks even better than the original ;-)

Image
by jj2007
Apr 19, 2020 15:52
Forum: Community Discussion
Topic: Could someone make a list of FreeBASIC GUI libraries/frameworks?
Replies: 166
Views: 5149

Re: Could someone make a list of FreeBASIC GUI libraries/frameworks?

Here is a 77 lines sizable boilerplate GUI application with a menu, a control, and some MessageBoxes saying "Menu xxx not yet implemented". Would it run on Linux with Wine? Yes, this is how it looks like: https://nr100.home.xs4all.nl/badidea/win_fbc_wine.png That looks much better than my...

Go to advanced search