Search found 201 matches

by Peyman
Tue Nov 08, 2016 1:23 am
Forum: Tricks 'n' Tips
Topic: ScrollBarEx : Custom ScrollBar Gadget [CrossPlatform]
Replies: 17
Views: 8910

Re: ScrollBarEx : Custom ScrollBar Gadget [CrossPlatform]

new version 1.40 released, please test it and report any bug or request new futures.

; 1.40 Fixed the moving slider system, now its move by State instead of width and height
; Added continues slider moving when click and hold left button on gadget
; Fixed a problem in knob resizing when Max number ...
by Peyman
Mon Nov 07, 2016 6:39 pm
Forum: Tricks 'n' Tips
Topic: API Hook Engine Module (Windows)
Replies: 46
Views: 24777

Re: API Hook Engine Module (Windows)

@ xakep ,

np. Certainly its cleaner & faster if you dont use unhook and hook again.

@ Mistrel ,

yes its possible, in two phase you must create a dll with hooked procedures and force all processes to load that dll.
for phase two you can enumerate all processes and inject the dll to them, or use ...
by Peyman
Mon Nov 07, 2016 4:01 pm
Forum: Tricks 'n' Tips
Topic: ScrollBarEx : Custom ScrollBar Gadget [CrossPlatform]
Replies: 17
Views: 8910

Re: ScrollBarEx : Custom ScrollBar Gadget [CrossPlatform]

@Demivec,

thx, yes its a good idea, i try to add it in next version

@Michael Vogel,

thx, i did not think about a very large Maximum number for ScrollBar, as you know PB ScrollBar limited Max number of ScrollBar to 10000, so its fix in next version
by Peyman
Fri Nov 04, 2016 10:25 pm
Forum: Tricks 'n' Tips
Topic: Custom StringGadget with Image button [CrossPlatform]
Replies: 34
Views: 18266

Re: Custom StringGadget with Image button [CrossPlatform]

new version with AutoComplete future released, its still maybe have some bugs please test it and say your thoughts.
and another thing code now splitted in two parts because of 60000 character limit of purebasic forum, so now example is in my second post http://purebasic.fr/english/viewtopic.php?p ...
by Peyman
Fri Nov 04, 2016 10:05 pm
Forum: Tricks 'n' Tips
Topic: ScrollBarEx : Custom ScrollBar Gadget [CrossPlatform]
Replies: 17
Views: 8910

Re: ScrollBarEx : Custom ScrollBar Gadget [CrossPlatform]

infratec wrote:An idea...

I know this from many programs:
If you press and hold the middle button inside of the area, you can move the area.

Bernd
so its just like move the knob with the left click or something else you say ?
by Peyman
Fri Nov 04, 2016 3:56 am
Forum: Tricks 'n' Tips
Topic: ScrollBarEx : Custom ScrollBar Gadget [CrossPlatform]
Replies: 17
Views: 8910

Re: ScrollBarEx : Custom ScrollBar Gadget [CrossPlatform]

new version 1.30 with very changes released, check first post
; 1.30 Fixed a bug in move knob and show over button for arrows
; Fixed a bug in state event
; Added Command procedure
; Added UnbindEvent procedure
; Changed all procedures to SBEx_*
; Changed all ScrollBarEx_ constants to SBEx ...
by Peyman
Fri Nov 04, 2016 2:12 am
Forum: Tricks 'n' Tips
Topic: API Hook Engine Module (Windows)
Replies: 46
Views: 24777

Re: API Hook Engine Module (Windows)

@ xakep ,

your welcome. UnHook + call func + Hook again is for the MitM attack (Man in the Middle) or something like it, where you want to get the arguments and then pass it to real function and again hook that function.
in your situation you dont need it, even you can free *Hook1 with FreeMemory ...
by Peyman
Tue Nov 01, 2016 3:16 pm
Forum: Tricks 'n' Tips
Topic: Custom StringGadget with Image button [CrossPlatform]
Replies: 34
Views: 18266

Re: Custom StringGadget with Image button [CrossPlatform]

new version with AutoComplete future will be released, its have some works before release:

Image
by Peyman
Mon Oct 31, 2016 10:10 pm
Forum: Tricks 'n' Tips
Topic: Custom StringGadget with Image button [CrossPlatform]
Replies: 34
Views: 18266

Re: Custom StringGadget with Image button [CrossPlatform]

hi,
a new version released to fix Tab and Shift + Tab in mac and linux with AGF module

;- Read About AGF module
; this gadget have problem in linux and mac with TAB and SHIFT + TAB key for jump from current gadget
; to another gadget so mk-soft find a way to handle this, maybe its not perfect and ...
by Peyman
Sun Oct 30, 2016 11:29 pm
Forum: Coding Questions
Topic: send tab or shit+tab to window in linux and mac
Replies: 11
Views: 4502

Re: send tab or shit+tab to window in linux and mac

@ mk-soft ,

thx for module so i reference it in the code if users want so they can use it, please create a post in Tricks 'n' Tips and post your module.
another thing in line 97 of your code logic is not true because gadget number can be zero so it must be Greater Equal to 0

...
If prev_id >= 0 ...
by Peyman
Sun Oct 30, 2016 5:54 pm
Forum: Coding Questions
Topic: send tab or shit+tab to window in linux and mac
Replies: 11
Views: 4502

Re: send tab or shit+tab to window in linux and mac

@mk-soft,

thx so much this is exactly what i wanted, can i merge this code in my module and write a thx to u in module description ?
by Peyman
Sun Oct 30, 2016 12:29 pm
Forum: Coding Questions
Topic: send tab or shit+tab to window in linux and mac
Replies: 11
Views: 4502

Re: send tab or shit+tab to window in linux and mac

thx RASHAD, its a good way if i write a program for my self, i write a module that create Custom StringGadget for programmers, i think its dirty that i write a procedure in module and force programmers to send all gadget numbers that they create to it just for TAB and SHIFT + TAB, i dont know really ...
by Peyman
Sun Oct 30, 2016 12:21 pm
Forum: Tricks 'n' Tips
Topic: Custom StringGadget with Image button [CrossPlatform]
Replies: 34
Views: 18266

Re: Custom StringGadget with Image button [CrossPlatform]

@kenmo,

as i see in your pics its really bolder, lets hope fred fix it in future.
for now DrawText_ added in code for windows users see and test code in first post, thx kenmo.
by Peyman
Fri Oct 28, 2016 7:17 pm
Forum: Coding Questions
Topic: send tab or shit+tab to window in linux and mac
Replies: 11
Views: 4502

Re: send tab or shit+tab to window in linux and mac

thx Rashad nice trick GetActiveGadget()+1 its works, but i cant use this way, because i dont know the number of my string gadgets and maybe gadgets created with #Pb_Any parameter. there is no api in linux and mac for simulating keyborad as windows like keybd_event_ ? or any way that is more dynamic.
by Peyman
Fri Oct 28, 2016 5:35 pm
Forum: Coding Questions
Topic: send tab or shit+tab to window in linux and mac
Replies: 11
Views: 4502

Re: send tab or shit+tab to window in linux and mac

@Rashad,

no did not test it, anyway its not work as i test it now in ubuntu.