Search found 45 matches
- Tue Feb 06, 2018 1:15 am
- Forum: Announcement
- Topic: PureBasic 5.62 released !
- Replies: 59
- Views: 35011
Re: PureBasic 5.62 released !
PureBasic incomes are not big enough (by far) to hire someone Time to change the license model for new buyers, then, and "grandfather" the old? That could cause some blowback if done on the 5.xx series, and even if done with the 6.xx series the license would still be downgraded compared t...
- Thu Nov 23, 2017 10:46 pm
- Forum: Tricks 'n' Tips
- Topic: Get the real display refresh rate for Windows DWM
- Replies: 1
- Views: 1965
Get the real display refresh rate for Windows DWM
;This quick'n'dirty example will tell you the frequency (Hz) of the primary system display. ;In a multimonitor system the DWM uses the frequency of the primary display. ;The VSync of windowed programs should be tied to this. ;You still need to do your own timing loop and calculate a frame delta. Bu...
- Wed Jun 14, 2017 9:56 pm
- Forum: Feature Requests and Wishlists
- Topic: mp3 now license free?
- Replies: 5
- Views: 3233
Re: mp3 now license free?
Unfortunately the Opus codec hasn't really taken off. Which is false. Opus is part of the WebRTC standard, which means all modern browsers should support it. All modern audio and media players support it too. The english wikipedia, however states that the last patent might not expire before Decembe...
- Sun May 07, 2017 6:58 pm
- Forum: Windows
- Topic: OpenWindow & Maximized state.
- Replies: 3
- Views: 2723
Re: OpenWindow & Maximized state.
A maximized borderless window causes Windows to treat it as a non-exclusive fullscreen window. I do not recall when Windows started doing it but it's been around for as long as I can recall. Possibly before Windows XP (might even go all the way back to Windows 95). (I'm using the terms non-exclusive...
- Wed Feb 08, 2017 4:21 pm
- Forum: The PureBasic Editor
- Topic: Color Themes for PureBasic
- Replies: 10
- Views: 8937
Re: Color Themes for PureBasic
This one I'm calling "PureBasic Dark Color.prefs" I'm a lot happier with this, the colors are toned down a bit and are more varied but still has the same "feel" to them. This will probably be my regular one going forward. ; PureBasic IDE Exported Preferences ; Color settings ; [C...
- Wed Feb 08, 2017 6:58 am
- Forum: Feature Requests and Wishlists
- Topic: Blurry PB Editor on Windows 10, manifest file needs updating
- Replies: 2
- Views: 1644
Blurry PB Editor on Windows 10, manifest file needs updating
PureBasic use a older (Windows 8.1?) manifest file. Due to this Windows will resize PureBasic's windows on high DPI displays (or if you set DPI scaling in the system to 125 for example). A quick fix (for the user) is to toggle the compatibility checkmark option in the properties of the PB executable...
- Wed Feb 08, 2017 6:49 am
- Forum: Feature Requests and Wishlists
- Topic: Configure Tools per project.
- Replies: 0
- Views: 1254
Configure Tools per project.
Currently you can configure a global tool and then enable/disable it for each project. I'd like to suggest the ability to also configure a tool per project. That way the settings are kept in the project file and should you ever need to wipe PureBasic's prefs (clean re-install) then you won't loose y...
- Wed Feb 08, 2017 6:27 am
- Forum: The PureBasic Editor
- Topic: Color Themes for PureBasic
- Replies: 10
- Views: 8937
Color Themes for PureBasic
I kinda like the Visual Studio Code Dark+ Color theme and this is my quick "port" of the colors, I'm not 100% happy with how it looks but it's close enough. I may tweak it later myself. Where possible I used the exact colors as those used in the Dark+ theme. My theme has no real name, but ...
- Fri Sep 30, 2016 7:48 am
- Forum: Tricks 'n' Tips
- Topic: No Stop No Sleep [Windows]
- Replies: 7
- Views: 3114
Re: No Stop No Sleep [Windows]
If it didn't work you did it wrong. As per https://msdn.microsoft.com/en-us/library/windows/desktop/aa373208(v=vs.85).aspx "This function does not stop the screen saver from executing." "to keep the display or system in the working state, the thread must call SetThreadExecutionState p...
- Fri Sep 30, 2016 7:21 am
- Forum: Tricks 'n' Tips
- Topic: Accessing content of Recycle Bin (Windows XP, Vista, 7)
- Replies: 10
- Views: 3919
Re: Accessing content of Recycle Bin (Windows XP, Vista, 7)
There is an mrthod for accessing the recycle bin https://blogs.msdn.microsoft.com/oldnew ... 00/?p=9773
- Fri Sep 30, 2016 7:05 am
- Forum: Windows
- Topic: Windows Keep Awake - 64bit
- Replies: 8
- Views: 4126
Re: Windows Keep Awake - 64bit
@Dude
One word (two actually): Race condition
At the moment the idle is triggered the user may type again.
if the code is slow, from the time the idle detection is triggered until your code send the fake key presses the user may already be holding down a key
One word (two actually): Race condition
At the moment the idle is triggered the user may type again.
if the code is slow, from the time the idle detection is triggered until your code send the fake key presses the user may already be holding down a key
- Fri Sep 30, 2016 6:13 am
- Forum: Feature Requests and Wishlists
- Topic: Get rid of MSVCRT.DLL dependancy
- Replies: 2
- Views: 1756
Get rid of MSVCRT.DLL dependancy
For a bit of history (and why you should not use) MSVCRT you can read here https://blogs.msdn.microsoft.com/oldnewthing/20140411-00/?p=1273 PureBasic (linker?) seems to use MSVCRT for stuff like malloc, but on Windows there are Win32 APIs that does the same. (and MSVCRT wraps those APIs anyway). msv...
- Wed Sep 07, 2016 3:39 pm
- Forum: Announcement
- Topic: BASS audio library v2.4.11 and PureBasic 5.31 includes
- Replies: 12
- Views: 8428
Re: BASS audio library v2.4.11 and PureBasic 5.31 includes
You need to do re-sampling. Also this is announcement post. Might want to post your question in http://www.purebasic.fr/english/viewforum.php?f=13 Or visit the BASS website at http://www.un4seen.com/ In the menu on the right is the forum link for BASS. The forums there are generally helpful just lik...
- Wed Sep 07, 2016 3:35 pm
- Forum: Tricks 'n' Tips
- Topic: DPI Aware Application
- Replies: 20
- Views: 24607
Re: DPI Aware Application
...(there is scaling problem caused by non-integral values rounding, @Roger Hågensen mentioned it in other thread too. this problem cannot be resolved while calculating pixels [not twips, etc], and will not let you to make pixel-perfect fancy compact guis with controls are placed side to side, etc....
- Wed Sep 07, 2016 2:51 pm
- Forum: Feature Requests and Wishlists
- Topic: DPI aware
- Replies: 15
- Views: 7130
Re: DPI aware
@IdeasVacuum PB would not need it's own unit, it would simply be "Pixel" but at 96 PPI. I forget exactly which API it was but you can use a Windows API to transform from virtual pixels (96PPI) to screen pixels (user/display set PPI). This means that as a GUI designer you'd work with a wind...