Search found 1071 matches
- Sat Feb 03, 2024 12:15 am
- Forum: Bugs - Windows
- Topic: [Done] PB 6.1 beta 4 - Right click on Systray causes crash, Left does not trigger event
- Replies: 10
- Views: 554
Re: PB 6.1 beta 4 - Right click on Systray causes crash, Left does not trigger event
AddSysTrayIcon(...) with #PB_Any crashed on PB v6.10 X64 Bug with #PB_Any Create AddSysTrayIcon(...) with #PB_Any crashed on PB v6.10 X64 Yes, I confirm the bug on right clic only and in x64 only (Asm or C). Even after changing WindowID(Window_0) -> WindowID(0) and with or without a popup to display.
- Fri Feb 02, 2024 4:15 pm
- Forum: Windows
- Topic: Label/Title inside Popup Menu
- Replies: 8
- Views: 708
Re: Label/Title inside Popup Menu
Thanks for the nice Menu example What I needed was the same as your 1st code, Set Title items Bold, Disabled, but for CreatePopupImageMenu() rather than CreatePopupMenu() A workaround is to use CreatePopupMenu(#Menu) rather than the CreatePopupImageMenu(), then add the image with SetMenuItemBitmaps ...
- Thu Feb 01, 2024 11:45 pm
- Forum: Bugs - IDE
- Topic: [Done] SendMessage #SCI_CALLTIPSHOW need UTF8 now
- Replies: 1
- Views: 280
[Done] SendMessage #SCI_CALLTIPSHOW need UTF8 now
The continuation of the bug here, PB610b2 - ASCII Characters >127 not correctly displayed in debug window information line which is now fixed in Github, should be [Done] https://i.ibb.co/GVBvY9H/Ascii2-UTF8.png Seems fixed with: PureBasicIDE\IDEDebugger.pb change in line 1059, 1069, 1075, 1183, 1189...
- Thu Feb 01, 2024 6:03 pm
- Forum: Windows
- Topic: Label/Title inside Popup Menu
- Replies: 8
- Views: 708
- Thu Feb 01, 2024 3:16 pm
- Forum: Bugs - Windows
- Topic: [Done] Project with C Backend lost when installing a new PB version
- Replies: 4
- Views: 765
Re: Project with C Backend lost when installing a new PB version
Great, I've just tested with the above example and the four 6.01 compilers defined in PureBasic.prefs and in Test.pbp. I open the project and build it with PB 6.10 beta4, it's totally transparent and it works just fine , as it should be :) Even Compiler1_Md5 and Compiler1_Version are updated in Pure...
- Thu Feb 01, 2024 1:21 pm
- Forum: Coding Questions
- Topic: Vector Drawing + one point
- Replies: 14
- Views: 866
Re: Vector Drawing + one point
The result with the center and angles, above, is not really optimal, I continued with Stargate's idea here . So by calculating the distances of the 2 segments that would be created, for each pair of points (point and next point). Then, running the distances from smallest to largest, check whether on...
- Wed Jan 31, 2024 4:08 pm
- Forum: Coding Questions
- Topic: Vector Drawing + one point
- Replies: 14
- Views: 866
Re: Vector Drawing + one point
I made a few changes: EnableExplicit #DrawCenter = #True ; #True|#False Structure polygon_point_struct x.w y.w angle.d distance.d EndStructure Global NewList polygons.polygon_point_struct() Global event Procedure DrawPolygons() Protected start_x, start_y = -1 CompilerIf #DrawCenter Protected center_...
- Wed Jan 31, 2024 12:16 pm
- Forum: Coding Questions
- Topic: [pb6.10b4] Required Compiler can't be found
- Replies: 14
- Views: 735
Re: [pb6.10b4] Required Compiler can't be found
But it is still a bug. No bug. If you tell the IDE to compile with a compiler that is not present in the settings, it won't work. Um, I don't really agree. In the sense that you wrote it, Yes. But new compilers should be updated in settings, when a new PB version is installed (with the same path). ...
- Wed Jan 31, 2024 12:18 am
- Forum: Coding Questions
- Topic: [EXPLAINED] ScrollAreaGadget & #PB_ScrollArea_InnerHeight
- Replies: 2
- Views: 232
Re: ScrollAreaGadget & #PB_ScrollArea_InnerHeight
In the ScrollArea help, it is written that the dimensions of the scrollable area inside the gadget (MS Windows only: These are limited To 32 000 pixels) That's not quite right, it is limited to 2 octets, 32767 pixels Try this, you'll get an error message at compile time: [ERROR] Maximum supported ga...
- Tue Jan 30, 2024 12:29 pm
- Forum: Off Topic
- Topic: Cookies required
- Replies: 16
- Views: 1379
Re: Cookies required
Quite disturbing to see this full consent window the 1st time, without Google telling us it's cookies for GoogleADs. It would be a little better if at least it were mentioned in the title consent window "This site uses Google Ads, which needs your consent to use your data" rather than &quo...
- Tue Jan 30, 2024 11:22 am
- Forum: Applications - Feedback and Discussion
- Topic: IceDesign GUI designer
- Replies: 563
- Views: 135668
Re: IceDesign GUI designer
Hi William, Redisplays, flickering are a mess on Windows, often a nightmare. I don't know what could be added and I don't think it would be a good idea to do something in the code generated. There is no universal method to suit all cases, in any case, I couldn't find one for myself. Hiding gadgets a...
- Mon Jan 29, 2024 8:52 pm
- Forum: Coding Questions
- Topic: Vector Drawing + one point
- Replies: 14
- Views: 866
Re: Vector Drawing + one point
Yes, if we don't want an intersection, finding the midpoint and sorting by the angle of each point seems the right way to do it.
stackoverflow example her: https://stackoverflow.com/a/19715160
stackoverflow example her: https://stackoverflow.com/a/19715160
- Mon Jan 29, 2024 4:48 pm
- Forum: Coding Questions
- Topic: PB 6.1 Beta 4 - QT and Function Return support in WEBViewGadget?
- Replies: 9
- Views: 576
Re: PB 6.1 Beta 4 - QT and Function Return support in WEBViewGadget?
I fully agree, ExecuteScript (JS) seems essential to control an interface, to Set, Get, Text, State, Color, Item... and be able to interact as it is done for native gadgets.
- Mon Jan 29, 2024 3:50 pm
- Forum: Coding Questions
- Topic: Vector Drawing + one point
- Replies: 14
- Views: 866
Re: Vector Drawing + one point
Perhaps something like this to calculate distance to current element + distance to next element Procedure AddAndSortPolygon(newx, newy) Protected lowestID = #PB_Default Protected Distance.d, current.d = #PB_Default Protected *polygons.polygon_point_struct With polygons() If ListSize(polygons()) > 2 ...
- Sun Jan 28, 2024 10:03 pm
- Forum: Coding Questions
- Topic: Check time of last shutdown?
- Replies: 4
- Views: 412
Re: Check time of last shutdown?
With wevtutil to retrieve information about event logs Params$ = "qe System " +#DQUOTE$+ "/q:*[System [(EventID=1074)]]" +#DQUOTE$+ " /rd:true /f:text /c:1" Program = RunProgram("wevtutil", Params$, "", #PB_Program_Open | #PB_Program_Read | #PB_Progr...