Search found 880 matches

by HeX0R
Fri Apr 12, 2024 8:30 pm
Forum: Coding Questions
Topic: Setting and Getting GadgetITemData on a ListIconGadget
Replies: 7
Views: 361

Re: Setting and Getting GadgetITemData on a ListIconGadget

There is no item at index 2, therefore nothing will be set!
AddGadgetItem(5, 1, "Picture 1", ImageID(0)) on an empty List will NOT add it to position 1, but to position 0
by HeX0R
Fri Apr 12, 2024 8:20 pm
Forum: Applications - Feedback and Discussion
Topic: [IDE Tool] History Viewer 2.20 [Win & LINUX]
Replies: 82
Views: 43017

Re: [IDE Tool] History Viewer 2.20 [Win & LINUX]

It's still at the same place you asked for last year: https://www.purebasic.fr/english/viewtopic.php?p=603769#p603769 Since interest is very low, I didn't update the original download link on my site. I probably should do that, just give me a hint, when you lost the download link again (in ~ one yea...
by HeX0R
Thu Apr 11, 2024 4:34 pm
Forum: Coding Questions
Topic: PB 6.10 x64 OpenLibrary
Replies: 6
Views: 394

Re: PB 6.10 x64 OpenLibrary

to keep fair against old codes/coders, at the beginning of PB, there were no integers and longs were the default.
by HeX0R
Sun Apr 07, 2024 6:36 pm
Forum: Tricks 'n' Tips
Topic: MQTT Framework
Replies: 22
Views: 3672

Re: MQTT Framework

It's just to avoid unforseen problems, you never know where a bug is hiding, and what if BufferLength reaches _SendCommand(), for whatever reason (maybe some exploit I couldn't even think about), with a negative value?
by HeX0R
Sun Apr 07, 2024 12:58 am
Forum: Tricks 'n' Tips
Topic: MQTT Framework
Replies: 22
Views: 3672

Re: MQTT Framework

Sometimes (not often), the simple solutions rule the world :mrgreen:
by HeX0R
Sat Apr 06, 2024 10:12 pm
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 497

Re: Keep same CurrentDir if run from taskbar

I can't remember having used G/SetCurrentDirectory() in any of my programs!
It might be useful for console programs (which I rarely produce), but in "normal" applications, GetPathPart(ProgramFilename()) should be the way to go.
by HeX0R
Sat Apr 06, 2024 9:31 pm
Forum: Tricks 'n' Tips
Topic: MQTT Framework
Replies: 22
Views: 3672

Re: MQTT Framework

An empty payload... nice, somehow I didn't had that on my radar. I'm too lazy to try to recreate it (I have no use for the broker these days), but I think it would be enough to add an If/EndIf here: If i > 0 CompilerIf #USE_BASE64_PAYLOAD Base64Decoder(\PayLoad\PayLoadBase64, *Buff + OffsetOf(HEADER...
by HeX0R
Fri Apr 05, 2024 7:12 pm
Forum: Applications - Feedback and Discussion
Topic: DialogDesign0R V1.85
Replies: 212
Views: 105956

Re: DialogDesign0R V1.85

Update, see => -here-
by HeX0R
Wed Apr 03, 2024 8:03 pm
Forum: Feature Requests and Wishlists
Topic: (Solved in 6.10) Close a minimized window (Win)
Replies: 4
Views: 170

Re: Close a minimized window (Win)

I couldn't recreate this, only with older PB versions (prior to 6.10).
Did you try this with the latest version?
by HeX0R
Wed Apr 03, 2024 11:16 am
Forum: Coding Questions
Topic: How to change default of File > File format
Replies: 4
Views: 169

Re: How to change default of File > File format

charvista wrote: Wed Apr 03, 2024 11:01 am (is it pronounced Hexor? :mrgreen: )
More like in Neighbour :mrgreen:
by HeX0R
Wed Apr 03, 2024 10:42 am
Forum: Coding Questions
Topic: How to change default of File > File format
Replies: 4
Views: 169

Re: How to change default of File > File format

Preferences -> Compiler -> Defaults -> Source File Text Encoding
by HeX0R
Wed Apr 03, 2024 9:59 am
Forum: Coding Questions
Topic: Using ListIconGadget with #PB_ListIcon_ColumnAlignment
Replies: 3
Views: 151

Re: Using ListIconGadget with #PB_ListIcon_ColumnAlignment

it's #PB_ListIcon_ClickedColumn instead of #PB_EventType_ColumnClick for GetGadgetAttribute()

And I think #PB_ListIcon_ColumnAlignment should be mentioned in the help of SetGadgetItemAttribute()
by HeX0R
Mon Apr 01, 2024 6:40 pm
Forum: Coding Questions
Topic: start an app when windows starts
Replies: 16
Views: 1925

Re: start an app when windows starts

Procedure.s GetSpecialFolder(CSIDL) Protected *itemid.ITEMIDLIST Protected location.s = Space(#MAX_PATH) If SHGetSpecialFolderLocation_ (0, CSIDL, @*itemid) = #NOERROR If SHGetPathFromIDList_(*itemid, @location) CoTaskMemFree_(*itemid) If Right(location, 1) <> "\" : location + "\&quo...
by HeX0R
Mon Mar 25, 2024 5:04 pm
Forum: The PureBasic Editor
Topic: [IDE Tool] Search in PB Files
Replies: 10
Views: 555

Re: [IDE Tool] Search in PB Files

Nice idea!
I implemented it quite different to yours now.
When doubleclicking on the found file, the line will be selected in the IDE

btw.:
Instead of adding the two constants in the source, you probably should add it to the compiler options (tab constants)
by HeX0R
Fri Mar 22, 2024 11:03 pm
Forum: The PureBasic Editor
Topic: [IDE Tool] Search in PB Files
Replies: 10
Views: 555

Re: [IDE Tool] Search in PB Files

boddhi wrote: Fri Mar 22, 2024 2:12 pm I'm sorry, I don't understand what I did wrong the first time. :oops:
No need to apologize, providing the source means also, anyone can use it however it suits them best.
I just wanted to point out that this was not the way I thought it should be used.