Search found 457 matches

by bbanelli
Mon Dec 12, 2016 12:13 pm
Forum: Tricks 'n' Tips
Topic: Filterbar in a ListIcon Header EXAMPLE
Replies: 17
Views: 8585

Re: Filterbar in a ListIcon Header EXAMPLE

In case anyone will need to handle trigger focus on certain filter column, here's a short snippet: hListViewHeader = SendMessage_(GadgetID(0), #LVM_GETHEADER, #Null, #Null) SendMessage_(hListViewHeader, #HDM_EDITFILTER, 0, #True) ;https://msdn.microsoft.com/en-us/library/windows/desktop/bb775312(v=v...
by bbanelli
Thu Dec 08, 2016 11:28 am
Forum: Windows
Topic: how to connect to sql express 2005/2018/2014 ?
Replies: 4
Views: 2562

Re: how to connect to sql express 2005/2018/2014 ?

please post example. thx If you don't have one, install Microsoft ODBC driver. https://www.microsoft.com/en-us/download/details.aspx?id=53339 After that, create a User DSN via Control Panel's Administrative Tool Data Sources (ODBC) (or you can even do it directly via PB, see this great example) and...
by bbanelli
Mon Oct 24, 2016 9:27 am
Forum: Coding Questions
Topic: Array of Maps! Is it possible? [Answered]
Replies: 2
Views: 1074

Re: Array of Maps! Is it possible?

Code: Select all

EnableExplicit

Structure a_m
  Map m.i()
EndStructure

Define.i i
Define Dim a.a_m(4)

For i = 0 To 4
  AddMapElement(a(i)\m(), Str(Random(100,10)))
  AddMapElement(a(i)\m(), Str(Random(100,10)))
  AddMapElement(a(i)\m(), Str(Random(100,10)))
Next

CallDebugger
Image
by bbanelli
Wed Oct 19, 2016 11:33 am
Forum: Feature Requests and Wishlists
Topic: Callback for CopyDirectory and DeleteDirectory
Replies: 7
Views: 3478

Re: Callback for CopyDirectory and DeleteDirectory

I don't think it's even possible with CopyFile() API used by PB. You can do it yourself by using CopyFileEx() or perhaps by utilizing ReadFileEx()WriteFileEx() procedures for Windows.
by bbanelli
Wed Oct 19, 2016 8:10 am
Forum: Off Topic
Topic: Your development machine?
Replies: 38
Views: 11218

Re: Your development machine?

Rings wrote:same keyboard as mine,
i like the clicking noise and feeling .
Indeed, but my colleagues in office would beg to differ. :D Luckily, noise cancellation headphones settled the deal. :)
by bbanelli
Wed Oct 19, 2016 8:01 am
Forum: Off Topic
Topic: Your development machine?
Replies: 38
Views: 11218

Re: Your development machine?

I've decided to upgrade to 1060 Pascal to test new CUDA capabilities, and was very surprised how well it handles 3 monitors without an issue!

http://imgur.com/CUZuJJy
by bbanelli
Wed Oct 12, 2016 1:03 pm
Forum: Windows
Topic: Detect ScrollBar event on ListIconGadget
Replies: 3
Views: 2388

Re: Detect ScrollBar event on ListIconGadget

@RSBasic Thank you very much! Perhaps you could add that example somewhere here: http://www.rsbasic.de/winapi-library/ ? After your keywords I've found exact solution that i need from srod: http://www.forums.purebasic.com/english/viewtopic.php?p=435746&sid=beff98dfaf069c9a50b169b9b8e4f8cf#p435746
by bbanelli
Wed Oct 12, 2016 12:07 pm
Forum: Windows
Topic: Detect ScrollBar event on ListIconGadget
Replies: 3
Views: 2388

Detect ScrollBar event on ListIconGadget

Greetings to all,

what message is in charge for detecting any tampering (clicking or sliding scroll bar) on ListIconGadget? I tried #WM_HSCROLL but nothing is triggered in callback.

TIA!
by bbanelli
Thu Sep 08, 2016 10:53 pm
Forum: Coding Questions
Topic: Has anyone done PB Wrapper for Windows esent.dll file, yet?
Replies: 21
Views: 8077

Re: Has anyone done PB Wrapper for Windows esent.dll file, y

Mine is stuck at JetAttachDatabsae() [23:52:19] Database Page-Size: 32768 [23:52:19] 0 [23:52:19] 0 [23:52:19] 0 [23:52:19] JET_errPageSizeMismatch, The database page size does not match the engine [23:52:19] -1213 [23:52:20] JET_errDatabaseNotFound, No such database [23:52:20] -1203 [23:52:21] JET_...
by bbanelli
Thu Sep 08, 2016 10:35 pm
Forum: The PureBasic Editor
Topic: Get the IDE to display a message from a tool
Replies: 10
Views: 6264

Re: Get the IDE to display a message from a tool

IDEWindow is 0 for both x86 and x64 PB 5.5, W7 x64. :( This will only work if you compile it and execute it from the IDE as a tool.... Oh. I see. So this can't really be used instead of somewhat annoying feature of DebuggerWarning() which switches IDE's tab to the line warning occurred, instead of ...
by bbanelli
Thu Sep 08, 2016 10:12 pm
Forum: The PureBasic Editor
Topic: Get the IDE to display a message from a tool
Replies: 10
Views: 6264

Re: Get the IDE to display a message from a tool

IDEWindow is 0 for both x86 and x64 PB 5.5, W7 x64. :(
by bbanelli
Mon Sep 05, 2016 7:01 pm
Forum: Coding Questions
Topic: Load HTML to WebGadget from memory?
Replies: 9
Views: 3745

Re: Load HTML to WebGadget from memory?

If you're on Windows the doc has this to say: SetGadgetItemText(): With #PB_Web_HtmlCode as 'Item' html code can be streamed into the Gadget. (Windows only) For Linux and MacOS I posted already an example in the German forum which displays a HTML form with two buttons and allows to detect the butto...
by bbanelli
Mon Sep 05, 2016 5:44 pm
Forum: Coding Questions
Topic: Load HTML to WebGadget from memory?
Replies: 9
Views: 3745

Load HTML to WebGadget from memory?

Greetings to all, how would it be possible to create string that would contain HTML/JS and than load it to WebGadget on Windows? I know I can create HTML in temporary folder or other million of options, but it would be very convenient if I could do it like this "on the fly"... I guess this...
by bbanelli
Mon Sep 05, 2016 1:41 pm
Forum: Tricks 'n' Tips
Topic: ImagePlugin Module (Cross platform multi format de-/encoder)
Replies: 63
Views: 19290

Re: ImagePlugin Module (Cross platform multi format de-/enco

Works perfectly (incorporated in pretty large project with few hundred PNG icons).