Search found 355 matches

by ozzie
Thu Apr 22, 2021 9:11 am
Forum: Coding Questions
Topic: Pros and cons JSON vs XML
Replies: 8
Views: 688

Re: Pros and cons JSON vs XML

I use XML and find it easy to work with and edit.
by ozzie
Sun Dec 20, 2020 12:14 am
Forum: Tricks 'n' Tips
Topic: Ver #2 :Simple sound Player using BASS [Stereo & Mono Files]
Replies: 20
Views: 4936

Re: Ver #2 :Simple sound Player using BASS [Stereo & Mono Fi

chris319 wrote:Where to find

bassflac.dll
bass_ac3.dll
basswma.dll
https://www.un4seen.com/bass.html#addons
by ozzie
Wed Nov 04, 2020 5:09 am
Forum: Coding Questions
Topic: Painting a triangle with GDI
Replies: 4
Views: 654

Re: Painting a triangle with GDI

You shouldn't use WindowOutput(), it's an old command and still here for compatibility, but it can be erased by OS repainting etc. Better try with a CanvasOutput() instead. Seems like I've got some extra work to do! I've just run a search on my program and have found 12 instances of StartDrawing(Wi...
by ozzie
Wed Jul 29, 2020 2:36 am
Forum: Announcement
Topic: ProGUI Update, Graph Library and Experimental V2
Replies: 93
Views: 23722

Re: ProGUI Update, Graph Library and Experimental V2

jacky wrote:Ok, thanks. Unfortunately, not a license for me :cry:
FYI, ditto for me, for the same reason.
by ozzie
Sat Jul 25, 2020 9:07 am
Forum: Applications - Feedback and Discussion
Topic: [Module] StringEx (all OS)
Replies: 49
Views: 16254

Re: [Module] StringEx (all OS)

I can't get the tab key to skip to the next field. In the example code I've added calls to ModuleEx::AddWindow and ModuleEx::AddGadget as shown here: If ModuleEx::AddWindow(#Window, ModuleEx::#Tabulator|ModuleEx::#CursorEvent) Debug "AddWindow(#Window, ...) OK" If ModuleEx::AddGadget(#Stri...
by ozzie
Wed May 06, 2020 11:46 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] ComboBoxEx Gadget (all OS)
Replies: 11
Views: 5902

Re: [Module] ComboBoxEx Gadget (all OS)

Thanks. All OK now.
by ozzie
Wed May 06, 2020 2:20 am
Forum: Applications - Feedback and Discussion
Topic: [Module] ComboBoxEx Gadget (all OS)
Replies: 11
Views: 5902

Re: [Module] ComboBoxEx Gadget (all OS)

Thanks, but compilation now fails in ComboBoxExModule at Line 1692: Structure field not found: FocusBack.

This also occurs if I just compile ComboBoxExModule.pbi.
by ozzie
Tue May 05, 2020 9:55 am
Forum: Applications - Feedback and Discussion
Topic: [Module] ComboBoxEx Gadget (all OS)
Replies: 11
Views: 5902

Re: [Module] ComboBoxEx Gadgeat (all OS)

Not sure if I'm doing something wrong. I have a test program that uses ComboBoxExModule.pbi dated 07.03.2020, and ModuleEx.pbi dated 10.04.2020, but when I compile the test program I get this error in ComboBoxExModule: Line 1673: Structure field not found: ScrollBar Do I need to include any other mo...
by ozzie
Wed Mar 25, 2020 8:39 am
Forum: Coding Questions
Topic: *Buffer to string
Replies: 3
Views: 1006

Re: *Buffer to string

You may need to use one of the PeekS formats, eg #PB_Ascii.
by ozzie
Sat Feb 29, 2020 12:59 am
Forum: Windows
Topic: Checking Windows "Multiple displays" settings
Replies: 4
Views: 1361

Re: Checking Windows "Multiple displays" settings

Thanks for the suggestions, Mijikai and RASHAD. I've run the code with my setup here and unfortunately they don't provide or let me deduce the actual number of displays connected. The Windows Display Settings appear to take effect before these functions obtain their info. Anyway, I appreciate the ti...
by ozzie
Thu Feb 27, 2020 7:41 am
Forum: Windows
Topic: Checking Windows "Multiple displays" settings
Replies: 4
Views: 1361

Checking Windows "Multiple displays" settings

Using the PB Desktop library I can determine how many screens a user has connected - provided they have set the Windows "Multiple displays" display setting to 'extend desktop to this display'. Is there an API available that will enable me to check the actual number of screens connected, an...
by ozzie
Mon Feb 10, 2020 2:26 am
Forum: General Discussion
Topic: SWV: A simple HTML/JS desktop GUI engine for PB
Replies: 68
Views: 17800

Re: SWV: A better webview control

Looking forward to the demo!
by ozzie
Fri Dec 27, 2019 11:49 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] TextEx - Extended TextGadget (All OS / DPI)
Replies: 20
Views: 6499

Re: [Module] TextEx - Extended TextGadget (All OS / DPI)

Thanks. I didn't realise these native PB functions would work on the modules, but on checking this I see you use BindGadgetEvent() calls to catch and process these native functions. Brilliant!
by ozzie
Fri Dec 27, 2019 1:37 pm
Forum: Applications - Feedback and Discussion
Topic: [Module] TextEx - Extended TextGadget (All OS / DPI)
Replies: 20
Views: 6499

Re: [Module] TextEx - Extended TextGadget (All OS / DPI)

I misunderstood the purpose. I was expecting the gadget to be resized to match the required size, eg to match #PB_Gadget_RequiredSize.

How can I resize the gadget myself? It doesn't seem to have a SetWidth or Resize function (similarly for other modules).
by ozzie
Fri Dec 27, 2019 12:24 am
Forum: Applications - Feedback and Discussion
Topic: [Module] TextEx - Extended TextGadget (All OS / DPI)
Replies: 20
Views: 6499

Re: [Module] TextEx - Extended TextGadget (All OS / DPI)

How do I get AutoResize to work? The example includes the line: ;TextEx::SetAutoResizeFlags(#Text, TextEx::#MoveY|TextEx::#ResizeWidth) but if I remove the ; comment marker the results are still the same, with the displayed gadget still being 170 pixels wide. (Using TextExModule version 19120800 wit...