Search found 4578 matches

by RASHAD
Thu Apr 25, 2024 10:17 am
Forum: Bugs - Windows
Topic: 6.10 and 6.11b1 LoadSound crashes
Replies: 7
Views: 308

Re: 6.10 and 6.11b1 LoadSound crashes

With 5.73
a = 0
Didn't load and didn't play
No crash
by RASHAD
Thu Apr 25, 2024 12:56 am
Forum: Coding Questions
Topic: Vector shadow emulation.
Replies: 4
Views: 156

Re: Vector shadow emulation.

Hi NM Too many options he can try If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) CanvasGadget(0, 0, 0, 400, 200) LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/PureBasicLogo.bmp") alpha = 5 x = 10 If StartVectorDrawin...
by RASHAD
Thu Apr 25, 2024 12:03 am
Forum: Coding Questions
Topic: Vector shadow emulation.
Replies: 4
Views: 156

Re: Vector shadow emulation.

Hi Still that trick works fine :mrgreen: PB 6.10 x64 - Windows 11 x64 If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) CanvasGadget(0, 0, 0, 400, 200) LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/PureBasicLogo.bmp") I...
by RASHAD
Mon Apr 22, 2024 7:41 am
Forum: Coding Questions
Topic: Problems with: #PB_EventType_LeftClick
Replies: 6
Views: 284

Re: Problems with: #PB_EventType_LeftClick

If you are a Windows user you can add and use Left Mouse Click in editor gadget

Code: Select all

	Case #WM_LBUTTONDOWN
by RASHAD
Thu Apr 18, 2024 10:44 pm
Forum: Coding Questions
Topic: EditorGadget() placeholder text
Replies: 8
Views: 621

Re: EditorGadget() placeholder text

Hi jacdelad
Is that mean he should pay me $20 per month :mrgreen:
by RASHAD
Thu Apr 18, 2024 12:04 pm
Forum: Bugs - Windows
Topic: PB6.10 - 6.11b1 splitter redraw bug
Replies: 6
Views: 438

Re: PB6.10 - 6.11b1 splitter redraw bug

With DPI enabled
Bug confirmed
by RASHAD
Thu Apr 18, 2024 2:52 am
Forum: Bugs - Windows
Topic: PB6.10 - 6.11b1 splitter redraw bug
Replies: 6
Views: 438

Re: PB6.10 - 6.11b1 splitter redraw bug

Windows 11 Pro 23H2 x64
PB 6.10 x86-x64
LG 4K 150%
No problem
by RASHAD
Wed Apr 17, 2024 5:42 pm
Forum: Coding Questions
Topic: EditorGadget() placeholder text
Replies: 8
Views: 621

Re: EditorGadget() placeholder text

Hi dige I tried to use #EM_SETCUEBANNER with the editor but I failed :) Try #1 : Enumeration #Editor #Text EndEnumeration ; Initialer Platzhaltertext Global Placeholder$ = " Bitte Text eingeben..." ; Fenster und EditorGadget erstellen If OpenWindow(0, 100, 100, 300, 200, "Editor mit P...
by RASHAD
Mon Apr 15, 2024 8:54 pm
Forum: Coding Questions
Topic: GetFileDate() and UTC
Replies: 6
Views: 528

Re: GetFileDate() and UTC

Hi
Maybe GetFileTime_() will do the job
https://www.purebasic.fr/english/viewto ... etfiletime
by RASHAD
Sun Apr 14, 2024 10:26 pm
Forum: Coding Questions
Topic: Autosize ListIconGadget headings based on heading length?
Replies: 13
Views: 3365

Re: Autosize ListIconGadget headings based on heading length?

Hi Fang
Very very very glad to here from you :)
Keep in touch from time to time it makes me happy to read from you
by RASHAD
Sun Apr 14, 2024 9:27 pm
Forum: Coding Questions
Topic: Autosize ListIconGadget headings based on heading length?
Replies: 13
Views: 3365

Re: Autosize ListIconGadget headings based on heading length?

Hi MV Procedure AUTOSIZE_USEHEADER(gad,font) Header = SendMessage_(GadgetID(gad), #LVM_GETHEADER, 0, 0) nColumns = SendMessage_(Header, #HDM_GETITEMCOUNT, 0, 0) For col = 0 To ncolumns - 1 text$ = GetGadgetItemText(gad, -1,col) StartDrawing(WindowOutput(0)) DrawingFont(FontID(font)) width = TextWidt...
by RASHAD
Sat Apr 13, 2024 1:29 pm
Forum: Off Topic
Topic: Looking for bootable backup system on USB-drive
Replies: 5
Views: 489

Re: Looking for bootable backup system on USB-drive

Hi Kurzer
Should one of the next do the job
1- Drive Snapshot
2- R-Drive Image

It's light weight software
Hope you luck
by RASHAD
Fri Apr 12, 2024 7:08 pm
Forum: Off Topic
Topic: Looking for bootable backup system on USB-drive
Replies: 5
Views: 489

Re: Looking for bootable backup system on USB-drive

You may try MiniTool Partition Wizard
I used it to migrate my system to other devices successfully
by RASHAD
Thu Apr 11, 2024 8:39 pm
Forum: Coding Questions
Topic: Process owner over LAN - SOLVED
Replies: 8
Views: 2056

Re: Process owner over LAN - SOLVED

I am not sure
But as a common issue with PB v 6.10 change long to integer
As next it may work :)
Or
Stay with PB v 6.04 :D

Code: Select all

	time.l=objProcess\GetIntegerProperty("KernelModeTime")
	;To
	time.i=objProcess\GetIntegerProperty("KernelModeTime")
by RASHAD
Tue Apr 09, 2024 1:02 pm
Forum: Windows
Topic: Detect if a window has curved corners?
Replies: 6
Views: 299

Re: Detect if a window has curved corners?

Maybe a workaround :mrgreen: flags = #PB_Window_BorderLess OpenWindow(0,10,10,400,300,"Test",Flags) wdc = GetDC_(0) GetWindowRect_(WindowID(0),c.RECT) co = GetPixel_(wdc,c\left+2,c\top+2) co2 = GetPixel_(wdc,c\left+8,c\top+2) ReleaseDC_(0,wdc) If co = co2 Debug "Not Rounded" Else...