I can confirm this happens on a 4K monitor at 200% scaling using PB6.10
DPI Aware must be enabled.
Moving the splitter to the right position causes the bottom line of the Button to not draw properly.
Search found 1186 matches
- Thu Apr 18, 2024 5:02 am
- Forum: Bugs - Windows
- Topic: PB6.10 - 6.11b1 splitter redraw bug
- Replies: 6
- Views: 436
- Sat Apr 06, 2024 2:55 pm
- Forum: Applications - Feedback and Discussion
- Topic: [Module] pbPDF-Module
- Replies: 125
- Views: 86566
Re: [Module] pbPDF-Module
Dear Colleagues, could you show me the working code for inserting a PNG image into PDF using the ImageMemory function? The code on page 4 of this post does not work. Thank you for your help. Kind regards. You made it to page 4... you just had to go 2 more pages :) https://www.purebasic.fr/english/v...
- Mon Apr 01, 2024 2:56 am
- Forum: Bugs - Windows
- Topic: ResizeWindow not working with DPI aware
- Replies: 12
- Views: 543
Re: ResizeWindow not working with DPI aware
Paul I didn't missed #PB_Window_SizeGadget Just replaced it with API #WS_THICKFRAME The snippet works as you planned Just check it Yes, sorry. You are correct in that #PB_Window_SizeGadget flag was not needed. What I did notice though is if I grab the bottom right corner to resize your Window befor...
- Mon Apr 01, 2024 12:03 am
- Forum: Bugs - Windows
- Topic: ResizeWindow not working with DPI aware
- Replies: 12
- Views: 543
Re: ResizeWindow not working with DPI aware
Hi RASHAD, your code snippet is missing the #PB_Window_SizeGadget flag which seems to introduce the problem.
If I add the #PB_Window_SizeGadget flag then your Window jumps in size when the flags are restored.
If I add the #PB_Window_SizeGadget flag then your Window jumps in size when the flags are restored.
- Sun Mar 31, 2024 7:10 pm
- Forum: Bugs - Windows
- Topic: ResizeWindow not working with DPI aware
- Replies: 12
- Views: 543
Re: ResizeWindow not working with DPI aware
Can someone with a 4k high DPI monitor check this out and confirm? If I run the following code the Window starts at position 0,0 and when I press the button to move the window to 0,0 using ResizeWindow, the Window ends up at -6,0 if DPI aware is enabled on a 4K monitor with scaling set to 175% It's...
- Sun Mar 31, 2024 6:11 am
- Forum: Bugs - Windows
- Topic: ResizeWindow not working with DPI aware
- Replies: 12
- Views: 543
Re: ResizeWindow not working with DPI aware
Try using MoveWindow_() instead of ResizeWindow() to be sure from where the difference is coming Using MoveWindow_() with #PB_Window_SizeGadget flag and DPI Aware enabled on 4K monitor with 175% scaling moves the window to 8,0 instead of 0,0. Using a PB version prior to 6.10 gives a result of 3,0
- Sun Mar 31, 2024 5:03 am
- Forum: Bugs - Windows
- Topic: ResizeWindow not working with DPI aware
- Replies: 12
- Views: 543
Re: ResizeWindow not working with DPI aware
Hi RASHAD, with your code the result is still -6,0 for the X/Y position. The only difference is you resize the Window to very large. Setting the X position to 0 always results in -6 on a 4K monitor with 175% scaling and this only happens with PB 6.10 (-4 with 150% scaling / -2 with 125% scaling) Jus...
- Sun Mar 31, 2024 5:01 am
- Forum: Bugs - Windows
- Topic: WebView Gadget leaves files on hard drive
- Replies: 0
- Views: 218
WebView Gadget leaves files on hard drive
When testing the WebView Gadget from the IDE doing a Compile/Run, my "Users/AppData/Roaming/" folder starts filling up with PureBasic_Compilation0.exe, PureBasic_Compilation1.exe, PureBasic_Compilation2.exe, etc and the IDE does not remove these files afterwards. https://reelmedia.org/test...
- Sun Mar 31, 2024 4:44 am
- Forum: Bugs - Windows
- Topic: ResizeWindow not working with DPI aware
- Replies: 12
- Views: 543
ResizeWindow not working with DPI aware
Can someone with a 4k high DPI monitor check this out and confirm? If I run the following code the Window starts at position 0,0 and when I press the button to move the window to 0,0 using ResizeWindow, the Window ends up at -6,0 if DPI aware is enabled on a 4K monitor with scaling set to 175% Obvio...
- Sun Feb 25, 2024 6:21 am
- Forum: Bugs - Documentation
- Topic: Add an Example of Returning A String from a DLL
- Replies: 5
- Views: 441
- Tue Feb 20, 2024 5:30 pm
- Forum: Announcement
- Topic: Old School Text Advenure System
- Replies: 15
- Views: 1373
Re: Old School Text Advenure System
PureVision The GUI of this text adventure tool seems very basic (some buttons and text fields). What purpose does this PureVision library serve here? (I'm just trying to understand, because I can not test as I do not have access to this library) Just REM this line out as the source code doesn't use...
- Sun Dec 24, 2023 7:19 pm
- Forum: Coding Questions
- Topic: Prefilling a List
- Replies: 15
- Views: 1383
Re: Prefilling a List
Maybe something like this?
Code: Select all
set.s="[1,2,3,4,5,8,9,11,15,17,19,45,65,78]"
NewList myset()
ParseJSON(0, set)
ExtractJSONList(JSONValue(0), myset())
ForEach myset()
Debug myset()
Next
- Sun Nov 05, 2023 3:45 am
- Forum: Coding Questions
- Topic: [Solved]Access a linked list from different include file
- Replies: 17
- Views: 1185
Re: Access a linked list from different include file
. . . And use NewList to declare linked lists . . . Declare NewList LinkedList() XIncludeFile "TwoScreenList_Constants.pb" XIncludeFile "TwoScreenList_Windows.pb" XIncludeFile "PlyrAcct.pb" He's not actually creating a linked list, LinkedList() is the name of one of hi...
- Sat Nov 04, 2023 4:23 am
- Forum: Coding Questions
- Topic: [Solved]Access a linked list from different include file
- Replies: 17
- Views: 1185
Re: Access a linked list from different include file
You need to put declares in the right order in your Main file...
Code: Select all
Declare LinkedList()
XIncludeFile "TwoScreenList_Constants.pb"
XIncludeFile "TwoScreenList_Windows.pb"
XIncludeFile "PlyrAcct.pb"
- Wed Nov 01, 2023 9:51 pm
- Forum: Tricks 'n' Tips
- Topic: spinblur clock
- Replies: 13
- Views: 1004