Search found 649 matches

by MrMat
Wed Apr 10, 2019 8:21 pm
Forum: Bugs - IDE
Topic: PB64 IDE 5.7b1 Autocomplete window in the wrong place
Replies: 26
Views: 9662

Re: PB64 IDE 5.7 b1 Autocomplete window in the wrong place

It looks fixed on my setup. Thank you.
by MrMat
Thu Sep 27, 2018 3:38 pm
Forum: Announcement
Topic: PureBasic 5.70 LTS is out !
Replies: 252
Views: 158955

Re: PureBasic 5.70 LTS beta 2 is out !

but there are still a lot of scaling issues. For instance, the toolbar icons are too small

Indeed but you and everyone else should post all this in the bug forum, here this can be rightfully ignored or innocently missed.

I agree mate but it's already in the bug forum and this was a reply to ...
by MrMat
Thu Sep 27, 2018 12:30 am
Forum: Announcement
Topic: PureBasic 5.70 LTS is out !
Replies: 252
Views: 158955

Re: PureBasic 5.70 LTS beta 2 is out !

Thank you for the DPI fixes. The IDE is a lot better in beta 2, but there are still a lot of scaling issues. For instance, the toolbar icons are too small, the scroll buttons on the tab control are too small (both issues visible below):
https://i.postimg.cc/6pGFJQ4J/Clipboard_Image_9.jpg

The form ...
by MrMat
Wed Jul 04, 2018 4:32 pm
Forum: Coding Questions
Topic: Find specific window by title?
Replies: 12
Views: 3605

Re: Find specific window by title?

This is fairly minor (depending on use case!), but SendMessage with WM_GETTEXT can hang (I've seen it happen). There is some explanation here:
https://blogs.msdn.microsoft.com/oldnew ... 0/?p=42833

I assume SendMessageTimeout would work around this (not tested).
by MrMat
Tue Jun 26, 2018 10:04 pm
Forum: Bugs - IDE
Topic: PB64 IDE 5.7b1 Autocomplete window in the wrong place
Replies: 26
Views: 9662

Re: PB64 IDE 5.7 b1 Autocomplete window in the wrong place

It is off by a few thousand pixels for me (in both x and y) and opens up on the wrong monitor. I think per monitor DPI scaling isn't being taken into account in the DPI awareness calculations. I have a 4k and 2k monitor setup with different scalings on each. Edit: Even with the same scalings on each ...
by MrMat
Wed May 30, 2018 11:01 pm
Forum: Announcement
Topic: PureBasic 5.70 LTS is out !
Replies: 252
Views: 158955

Re: PureBasic 5.70 LTS beta 1 is out !

Thanks Fred.

The autocomplete window gets a bit lost too:
https://postimg.cc/image/rehr8pgtn/
by MrMat
Wed May 30, 2018 10:45 pm
Forum: Announcement
Topic: PureBasic 5.70 LTS is out !
Replies: 252
Views: 158955

Re: PureBasic 5.70 LTS beta 1 is out !

Nice job!

The DPI scaling isn't quite right (compare old and new toolbar):
https://postimg.cc/image/67quk0trv/
Menu icons aren't scaled properly either.

But the text is so much clearer now! Thank you!
by MrMat
Mon Apr 02, 2018 9:50 am
Forum: Off Topic
Topic: Happy 40th Birthday, FRED!
Replies: 28
Views: 9132

Re: Happy 40th Birthday, FRED!

Happy birthday Fred! Thanks for all your hard work 8)
by MrMat
Sat Apr 01, 2017 1:29 pm
Forum: Off Topic
Topic: Happy Birthday Fred!
Replies: 64
Views: 26138

Re: Happy Birthday Fred!

Wishing you a happy birthday Fred! Have a great day :D
by MrMat
Fri Mar 17, 2017 1:39 am
Forum: Coding Questions
Topic: Angle degree to X,Y and back (simple trig)
Replies: 10
Views: 4693

Re: Angle degree to X,Y and back (simple trig)

Hello,

Try this:

Code: Select all

rad.f = Mod(ATan2(-YY, XX)+2*#PI,2*#PI)
deg.f = rad * 180.0 / #PI
You don't really need the mod, it is just to convert to a range of 0...2*PI and 0...360.

Cheers,
Mat
by MrMat
Thu Mar 16, 2017 10:59 pm
Forum: Coding Questions
Topic: [Done] Window moves by itself
Replies: 43
Views: 9284

Re: Window moves by itself

It should take 5 seconds before it happens:
https://blogs.technet.microsoft.com/ask ... r-windows/

I can't reproduce it either, unless I stick the delay up to just over 5000.
by MrMat
Thu Mar 16, 2017 6:22 pm
Forum: Bugs - Documentation
Topic: ChangeCurrentElement
Replies: 10
Views: 6532

Re: ChangeCurrentElement

Hi Thunder93,

Thanks for your example. This is incredibly minor, but in case it gets pasted verbatim into the docs:

While NextElement(mylist()); "John" and change them to "J"
becomes:
While NextElement(mylist()); "Three" and change them to "3"

Cheers,
Mat
by MrMat
Thu Mar 16, 2017 3:41 pm
Forum: Coding Questions
Topic: [Done] Window moves by itself
Replies: 43
Views: 9284

Re: Window moves by itself

Yeah I didn't read the code properly (quick copy and paste at the end of a lunch break!), it is just the lack of event loop... Adding that in is fine.
by MrMat
Thu Mar 16, 2017 2:13 pm
Forum: Coding Questions
Topic: [Done] Window moves by itself
Replies: 43
Views: 9284

Re: Window moves by itself

It may be. I'll try it on my Windows 10 machine tonight. Or it could be something else installed that is having this effect. I'll do more testing later :-)
by MrMat
Thu Mar 16, 2017 2:07 pm
Forum: Coding Questions
Topic: [Done] Window moves by itself
Replies: 43
Views: 9284

Re: Window moves by itself

Edit: No bug, read onwards...