Search found 344 matches

by Mesa
Sat Jul 12, 2025 9:35 am
Forum: Applications - Feedback and Discussion
Topic: DialogDesign0R V1.86
Replies: 250
Views: 179582

Re: DialogDesign0R V1.86

Mini bugs:

- Change Tool.ico to dd.ico in DDesign0r_v02.pb
- The "STEP" value is missing for the ScrollAreaGadget
- The AddOn_SDK.pbi file has a "CompilerIf #PB_Compiler_IsMainFile" section, but nothing appends if i launch this file outside the project

As an exercise, I'd like to add the "add ...
by Mesa
Thu Jun 19, 2025 8:22 am
Forum: Feature Requests and Wishlists
Topic: Is there no RotateImage?
Replies: 7
Views: 669

Re: Is there no RotateImage?

There are a lot of ways to do that, one in using the point()/plot() procedures, one in using the vector library, etc, and another using the videobuffer, which is very interesting because it keeps the transparancy and it can add an antialiasing.
See this thread:
https://www.purebasic.fr/english ...
by Mesa
Fri Jun 06, 2025 10:20 am
Forum: Feature Requests and Wishlists
Topic: CreateFile and BOM
Replies: 4
Views: 508

CreateFile and BOM

A little thing, just add an flag like #Pb_BOM in the CreateFile() procedure, to create a file with a BOM, without using the WriteStringFormat() procedure.

M.
by Mesa
Fri May 30, 2025 3:53 pm
Forum: Coding Questions
Topic: Change font size of gadgets
Replies: 10
Views: 1839

Re: Change font size of gadgets

8 years later, a pb solution:
; FID = GetGadgetFont(#PB_Default)
; fnt.LOGFONT
; GetObject_(FID,SizeOf(fnt),@fnt)
; FName$ = PeekS(@fnt\lfFaceName[0]):Debug FName$


LoadFont(0,"",18)
SetGadgetFont(#PB_Default,FontID(0))

If OpenWindow(0, 0, 0, 500, 400, "Window", #PB_Window_SystemMenu | #PB ...
by Mesa
Thu May 22, 2025 2:50 pm
Forum: Coding Questions
Topic: Print preview in webgadget or webviewgadget
Replies: 0
Views: 566

Print preview in webgadget or webviewgadget

I'm searching a code to launch the print preview requester of a web gadget or a webviewgadget, only for Linux and MacOS .
Do you have one ?

Thanks

M.

EnableExplicit

CompilerSelect #PB_Compiler_OS

CompilerCase #PB_OS_Windows
Define IWebBrowser2.IWebBrowser2
#OLECMDID_PRINTPREVIEW=7 ...
by Mesa
Fri Apr 25, 2025 10:33 am
Forum: Tricks 'n' Tips
Topic: Grid - WebView JS (Tabulator)
Replies: 10
Views: 1999

Re: Grid - WebView JS (Tabulator)

It doesn't make any difference if the JS and CSS are loaded locally.

I've updated my drivers without any success too.

M.
by Mesa
Thu Apr 24, 2025 9:13 am
Forum: Tricks 'n' Tips
Topic: Grid - WebView JS (Tabulator)
Replies: 10
Views: 1999

Re: Grid - WebView JS (Tabulator)

For information, nothing work on my laptop win10 x64 + pb 6.21b6 x64 c backend.
No grid, just header on the wombat example. Idem in my firefox.
The https://tabulator.info/ works on firefox.

M.
by Mesa
Tue Apr 15, 2025 3:06 pm
Forum: Coding Questions
Topic: tool window
Replies: 1
Views: 207

tool window

The tool window title height size is the same as a normally window, it shouldn't ?

Windows 10
PB 621b5




If OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)
OpenWindow(1, 300, 200, 100, 260, "tool", #PB_Window ...
by Mesa
Thu Apr 10, 2025 1:38 pm
Forum: Tricks 'n' Tips
Topic: Managed MessageBox 2.0
Replies: 7
Views: 1142

Re: Managed MessageBox 2.0

Module updated for x64.

M.
by Mesa
Thu Apr 10, 2025 9:06 am
Forum: Tricks 'n' Tips
Topic: Managed MessageBox 2.0
Replies: 7
Views: 1142

Re: Managed MessageBox 2.0

Hi, i've just made a module.


;=================================================================
; Library: ManagedMessageBox 2.0
; Author: Lloyd Gallant (netmaestro)
; Date: January 9, 2008
; Target OS: Microsoft Windows All
; Target Compiler: PureBasic 4.0 and later
; License: Free, unrestricted ...
by Mesa
Fri Mar 28, 2025 11:51 am
Forum: Tricks 'n' Tips
Topic: Windows Media Player Control
Replies: 42
Views: 17037

Re: Windows Media Player Control

@Justin
Thank you.

M.
by Mesa
Mon Mar 24, 2025 3:28 pm
Forum: Tricks 'n' Tips
Topic: Windows Media Player Control
Replies: 42
Views: 17037

Re: Windows Media Player Control

Very short example but enough to get the error message : "Error, failed to get Brightness range".

http:/frazier.wood.free.fr/ztest.avi

It's not an https link, so some webbrowsers don't accept this kind of link, but no danger at all, it's just an old site web.

M.
by Mesa
Thu Mar 20, 2025 9:44 am
Forum: Announcement
Topic: Include file for native Directshow support in PB4
Replies: 82
Views: 89374

Re: Include file for native Directshow support in PB4

I'm trying to add the "IID_IVMRMixerControl9" interface in DshowMedia.pbi v1.3 here http://www.purebasic.fr/german/viewtopic.php?p=269873#p269873 but nothing works (i want to use this function: SetProcAmpControl()).

I can't give a code because this add is scattered all over the code.

Any help ?

M.
by Mesa
Wed Mar 19, 2025 10:38 am
Forum: Tricks 'n' Tips
Topic: Windows Media Player Control
Replies: 42
Views: 17037

Re: Windows Media Player Control

I've made some tests:

Hi, I don't have any uncompressed video to test, it worked with all the avi compressed videos i tried but i noticed that mkv videos don't play, i will look into it later.
I 've created this avis with virtualdub2.0 or avidemux, they are free softwares.


Make sure ...