Search found 2555 matches

by MrSwiss
Jul 21, 2018 14:19
Forum: Windows
Topic: How to determine is string is UTF-8 encoded
Replies: 16
Views: 280

Re: How to determine is string is UTF-8 encoded

If doing things in German, please use OFFICIAL translation: SetGlobals v2$="Das Leben ist schön" ; ö is Ascii 246 SetGlobals v2n$="Das Leben ist schon " ; no Umlaut correct is: "Das Leben ist schoen" -- the word gets otherwise, a different meaning! That's the way its do...
by MrSwiss
Jul 21, 2018 13:45
Forum: Tips and Tricks
Topic: 3 Methods, same Result
Replies: 0
Views: 17

3 Methods, same Result

While it sometimes appears, that there is a *established*, *best* solution to a particular problem, there may be other *more favorable* solutions, in a differing context. In below code snippets, the Union solution appears to be somewhat clumsy, on its own. However, in the context of a library (where...
by MrSwiss
Jul 20, 2018 20:28
Forum: Game Dev
Topic: Speed
Replies: 19
Views: 366

Re: Speed

ScreenSync is useless nowadays, since we're no longer use Cathode-Ray-Tube-Screens ...
(no longer a ray trace-back (ray switched off), from bottom/right to top/left of screen)
by MrSwiss
Jul 20, 2018 17:35
Forum: Community Discussion
Topic: about WinFBE
Replies: 10
Views: 303

Re: about WinFBE

Just words mincing ... <very funny!>
by MrSwiss
Jul 20, 2018 15:09
Forum: Community Discussion
Topic: about WinFBE
Replies: 10
Views: 303

Re: about WinFBE

<equally boring comment>
At least, I have a opinion. You, obviously not.
Therefore, let other people be their own judges ...
</equally boring comment>
by MrSwiss
Jul 19, 2018 16:54
Forum: Community Discussion
Topic: about WinFBE
Replies: 10
Views: 303

Re: about WinFBE

All help is appreciated with testing and suggestions for changes , additions, etc. I'd strongly suggest, to stop pushing FBX-Framework use, in the designer, because: there are people, like myself, who don't want to have *any part of it*. (yet another dependency! WIN-API native, is considered okay ....
by MrSwiss
Jul 18, 2018 18:17
Forum: Tips and Tricks
Topic: History (a MRU type)
Replies: 6
Views: 357

Re: History (a MRU type)

A quick fix of the Destructor ... In the unlikely event of a declared, but uninitialized History, the Destructor could possibly cause a crash, on program exit ... Just replace with the Destructor below: Destructor History() ' on destruction: free the allocated mem. (discard all zstring ptr's data) W...
by MrSwiss
Jul 17, 2018 17:40
Forum: General
Topic: Undefined reference to `PNG_LoadFile@16'
Replies: 26
Views: 444

Re: Undefined reference to `PNG_LoadFile@16'

Use D.J.Peter's, FBImage instead, its far more recent (2017).
See in Libraries: FBImage static Win/Lin 32/64-bit

Doing some searching on the forum, won't hurt (but prevents such useless posts).
(this is the last anwer, you'll get from me ... for such simple stuff)
by MrSwiss
Jul 17, 2018 15:18
Forum: Linux
Topic: Detect Drive
Replies: 10
Views: 221

Re: Detect Drive

Dinosaur wrote:I would have thought such a crucial function would have it's own command.
Nope, it won't because:
a directory/folder is just a 'specially marked' file (from OS point of view).

'specially marked' = dir attribute (is set)
by MrSwiss
Jul 17, 2018 14:47
Forum: Linux
Topic: Detect Drive
Replies: 10
Views: 221

Re: Detect Drive

Dinosaur wrote:Not so simple from within FB , there is no command to read Folder names.
Well, there is: DIR ...
Use it with a period '.' at the end, to show also, when the folder is 'empty'.
(you might have to: #Include "dir.bi")
by MrSwiss
Jul 17, 2018 13:35
Forum: Tips and Tricks
Topic: History (a MRU type)
Replies: 6
Views: 357

Re: History (a MRU type)

Hi all, here goes Revision 2, of the History ... Changes: ⋅ instead of a single ZString Ptr, an array of those ⋅ additionally: array bounds saved in type Test/Demo code changes are: 2 x History (dimmed) + 1 History Ptr (used: New/Delete keywords) See also, comments in code: ' His...
by MrSwiss
Jul 14, 2018 17:34
Forum: DOS
Topic: What is better screenlock/unlock or paging
Replies: 2
Views: 71

Re: What is better screenlock/unlock or paging

All the different methods covered in a document, written by fxm. Can be found in: Forum/Documentation/"How to Solve the Flickering Issue when Refreshing a Window in FB Graphics Mode" Read it and draw your own conclusions ... (you'll probably not find many people, agreeing on any one method)
by MrSwiss
Jul 13, 2018 20:18
Forum: Tips and Tricks
Topic: History (a MRU type)
Replies: 6
Views: 357

Re: History (a MRU type)

Also using show() in a way, that allowes to add color(s), if so wanted (with optinal parameters), default initialized ... (again, no need to store colors in the type itself). There was however, something I've missed on show(), the option(s) to place the output at row/column, which I've added in the...
by MrSwiss
Jul 13, 2018 13:42
Forum: Tips and Tricks
Topic: Numeric Entry in an EditBox
Replies: 16
Views: 492

Re: Numeric Entry in an EditBox

jj2007 wrote:My dearest friend ...
Won't happen any time soon, anyway.
jj2007 wrote:... can't you mind your own business, please?
You mean, like you always do?

(I'm also capable, of quoting "out of context"!)
by MrSwiss
Jul 13, 2018 12:39
Forum: Tips and Tricks
Topic: Numeric Entry in an EditBox
Replies: 16
Views: 492

Re: Numeric Entry in an EditBox

jj2007, you can at your option, stick that "ASM mangling" wherever you want ...
Just leave it out of this forum!

Go to advanced search