Search found 1842 matches

by JHPJHP
Tue Jul 20, 2021 4:50 pm
Forum: Coding Questions
Topic: Thread and Ogre3D
Replies: 3
Views: 885

Re: Thread and Ogre3D

Hi pf shadoko, Try the following. Enumeration #PB_Event_FirstCustomValue #EventThreadMesh EndEnumeration Procedure ThreadMesh(i) PostEvent(#EventThreadMesh, 0, 0, #PB_EventType_FirstCustomValue, i) EndProcedure InitEngine3D() : InitSprite() : InitKeyboard() : InitMouse() If OpenWindow(0, 0, 0, 0, 0,...
by JHPJHP
Fri Jul 16, 2021 5:44 pm
Forum: Announcement
Topic: Chromium Edge WebGadget
Replies: 21
Views: 10543

Re: Chromium Edge WebGadget

Updated : - added the option to open internet URLs - added a new example: CE_WebGadget_5.pb - some minor code improvements CE_WebGadget_5.pb Includes three CE WebGadgets pointing to three seperate URLs. Chromium Edge WebGadget was originally written to demonstrate how easy it is to include simple b...
by JHPJHP
Sat Jul 03, 2021 6:39 pm
Forum: Announcement
Topic: Windows Services & Other Stuff
Replies: 141
Views: 96100

Re: Windows Services & Other Stuff

Hi BarryG, Thank you for your kind words, they were very much appreciated. --------------------------------------- Updated : - subclass listview context menu - added Home , History (back/forward), and Up One Folder buttons - numerous code improvements Subclass ListView Context Menu While allowing ac...
by JHPJHP
Wed Jun 30, 2021 12:48 am
Forum: Announcement
Topic: Windows Services & Other Stuff
Replies: 141
Views: 96100

Re: Windows Services & Other Stuff

Updated:
- improved WebGadget Explorer
- moved to \Other_Stuff\WebGadgetExplorer\WG_Explorer.pb

I was motivated to improve this example after reading this post by BarryG.

Includes flicker free transitions between icon scaling, view changes (detail, list, tile, etc.) and folder updates.
by JHPJHP
Sat Jun 26, 2021 1:08 am
Forum: Coding Questions
Topic: ExplorerListGadgets and actioning items
Replies: 22
Views: 2172

Re: ExplorerListGadgets and actioning items

Hi BarryG,

I resolved this in an earlier script.
If you have access to my downloads you should be able to find the solution in Windows Services & Other Stuff.
If not, and no one has posted working code before I'm in a position to look for myself, I'll follow up after I locate it.
by JHPJHP
Wed Jun 16, 2021 5:09 pm
Forum: Announcement
Topic: Video Snipping Tool
Replies: 77
Views: 17740

Re: Video Snipping Tool

Updated : - added Caps Lock to shortcuts and Smart Zoom - ink color now applies to both Screen Overlay and Selection Outline - added Ctrl + End to stop the recording process without creating a video - modified Snipping Options to include Selection Outline in recording - more accurate window selecti...
by JHPJHP
Wed Jun 16, 2021 3:30 pm
Forum: Announcement
Topic: Video Snipping Tool
Replies: 77
Views: 17740

Re: Video Snipping Tool

Updated : - Dwm Checkbox added to Options window - applied various small improvements and bug fixes Recently while creating animated GIFs I notice a couple easy to fix issues. - smoother drawing for Rectangular Snipping (Ctrl + R) - frame counter fixed when not in Write Buffer mode - some minor imp...
by JHPJHP
Sun Jun 13, 2021 9:14 am
Forum: Windows
Topic: [Solved] Setting desktop resolution on widescreen monitor
Replies: 15
Views: 7261

Re: Setting desktop resolution on widescreen monitor

Hi BarryG, I don't think you fully read my post... If you followed the link , it explained that the function SetDisplayConfig replaced the legacy function ChangeDisplaySettings for newer OS. My previous example was only meant to get you started, not a complete solution; I've updated the post to be a...
by JHPJHP
Sun Jun 13, 2021 12:38 am
Forum: Windows
Topic: [Solved] Setting desktop resolution on widescreen monitor
Replies: 15
Views: 7261

Re: Setting desktop resolution on widescreen monitor

Hi BarryG, I may have found what is causing the issue and a possible fix; see a basic example of the SetDisplayConfig function below. A working example can be found in Windows Services & Other Stuff . Scaling the desktop image A caller can use the SetDisplayConfig Connecting and Configuring Disp...
by JHPJHP
Sat Jun 12, 2021 2:05 am
Forum: Windows
Topic: [Solved] Setting desktop resolution on widescreen monitor
Replies: 15
Views: 7261

Re: Setting desktop resolution on widescreen monitor

Hi BarryG, My native resolution is also 1920 x 1080, and both configurations I posted work as expected. Maybe use Device Manager to remove (delete) your monitor drivers, rebooting to a fresh install; should rule out a couple things. Could be a corruption where Windows access to the driver remains in...
by JHPJHP
Sat Jun 12, 2021 12:52 am
Forum: Windows
Topic: [Solved] Setting desktop resolution on widescreen monitor
Replies: 15
Views: 7261

Re: Setting desktop resolution on widescreen monitor

Hi BarryG,
BarryG wrote:I tried with "dmDisplayFixedOutput" but that's not supported by PureBasic
It's supported within a nested-structure.

Code: Select all

lpDevMode\Display\dmDisplayFixedOutput = #DMDFO_CENTER
by JHPJHP
Fri Jun 11, 2021 4:22 pm
Forum: Windows
Topic: [Solved] Setting desktop resolution on widescreen monitor
Replies: 15
Views: 7261

Re: Setting desktop resolution on widescreen monitor

Hi BarryG,

Have you tried the ChangeDisplaySettingsExW function?
by JHPJHP
Fri Jun 11, 2021 3:26 am
Forum: Announcement
Topic: OldSkool Fire Effect
Replies: 5
Views: 3926

Re: OldSkool Fire Effect

Updated : - added freestyle shapes: line, circle, square - added freestyle cursor graphic - various code improvements Freestyle Shapes From Freestyle mode ( F2 ) draw shapes ( Key 1 - 4 ). 1. Free Hand : Use the < > keys to increase/decrease the radius of each pixel 2. Draw Line 3. Draw Circle 4. D...
by JHPJHP
Wed Jun 09, 2021 9:48 pm
Forum: Announcement
Topic: OldSkool Fire Effect
Replies: 5
Views: 3926

Re: OldSkool Fire Effect

Sorry mostly to expensive to see a demo. Probably a waste of time, but... 1. This is not a demo, it includes the full source code as do all my downloads. 2. When I answered this post, for the better part of a week the Fire Effect script was free to download. 3. For 10+ years everything I've written...
by JHPJHP
Tue Jun 08, 2021 6:54 pm
Forum: Announcement
Topic: OldSkool Fire Effect
Replies: 5
Views: 3926

Re: OldSkool Fire Effect

Updated : - added Freestyle drawing - enhanced Options window - restructured various parts of the code Enhanced Options Window Program restart no longer required to propagate changes. Window/Effect updated with Submit button. Animation created using Video Snipping Tool https://7vakew.sn.files.1drv....