05-19-2016, 10:29 AM
Acknowledged.
Browser toolbar
|
05-19-2016, 10:29 AM
Acknowledged.
05-19-2016, 01:09 PM
ok, moved to status bar as you give a practical and functional exmaple in QM
TB StatusBar in Samples - toolbars and menus Wanted to know how : make toolbar black write in it white with custom font, bold TY
05-19-2016, 01:17 PM
Look in Properties.
05-19-2016, 01:22 PM
i look again, then because it does not work..
maybe i fail in color codes...
05-19-2016, 01:23 PM
Click the color edit field, then click the [...] button.
05-19-2016, 01:47 PM
Need to restart the toolbar. For example in Properties click Apply/Test.
05-19-2016, 01:48 PM
doing this for 30 min, no joy, sure i miss something
05-19-2016, 01:54 PM
hmmm, tried al last with a fresh toolbar, works...
seems to be the modified status bar exmaple that does not obey.. going back to stock toolbar and stop using status bar example...
05-20-2016, 10:24 AM
Gintaras,
is it possible to send from a function a custom message to a toolbar hook procedure ?? sendmessage WM_MYCUSTOMMESSAGE toolbarwindow param1 param2 in hook case WM_MYCUSTOMMESSAGE if(param1=.... if(param2=... thanks
05-20-2016, 11:05 AM
Yes.
05-20-2016, 11:35 AM
external call
def WM_MYMESSAGE 0x658741 Hook procedure Function ChromeBarProc function# hWnd message wParam lParam No message from toolbar hook procedure..where do I do wrong???
05-20-2016, 11:42 AM
I guess Windows does not allow to send messages in whole int range. Use WM_APP+n instead of 0x658741.
05-20-2016, 11:49 AM
def WM_MYMESSAGE WM_APP+1000 did the trick, ty.
05-20-2016, 11:57 AM
is there example code to have the toolbar containing only one button (ie one definition in toolbar macro like abcdf :dosomething), sized to toolbar dimensions, and black with white font???
i looked in many examples but fail.. if too complcated, will do something else
05-20-2016, 11:59 AM
Look in MSDN, TB_x messages, I don't remember.
05-20-2016, 12:06 PM
sure will...
06-01-2016, 06:56 AM
Reviving this, I need to be able to pop a menu when i middle click or left double click on the toolbar, where
find example in documentation (or if you can provide a framework) Thanks
06-01-2016, 07:36 AM
Toolbar Toolbar72
Function WndProc_ToolbarHook6 ;/
06-01-2016, 07:50 AM
ok, perfect as usual...
Is it possible then to interact between toolbar and Macro chrome address function provided earlier??? Can the main function pass string or array to toolbar via wParam or lParam, i tried with no success.. Function ChromeMonitor Trigger !cv"* - Google Chrome" "Chrome_WidgetWin_1" "" "" "" 0x2 /CHROME #sub Hook
06-01-2016, 10:59 AM
Macro Macro2825
type MyToolbarInteractData IStringMap'm ARRAY(str)h ;/
06-01-2016, 11:01 AM
Perfect, my program is almost done, QM is a fantastic toy, and its creator a master...
06-01-2016, 11:04 AM
Changed the code to avoid copying the array. But the old code also works.
06-01-2016, 11:17 AM
OK, just cosmetics...
1. anyway to have the toolbar button color text modified? I modified to Comic MS font, but always black color...boring 2. How to shrink toolbar to 1 pixel, and expand it back *by code*?? 3. this one is important: in the window procedure of the toolbar, what is the relation of the variables declared in the "body" of the function (i.e at the beginning of it) and the sub functions??? I want ot declare a str in body, and use it (i.e accessing it's value) in a sub function..sometimes I have problems doing it. Must it be declared as global variable?? Macro Macro24 function# hWnd message wParam lParam
06-01-2016, 04:21 PM
3. Please read #sub help. Don't need global or thread variables.
1, 2, don't have time now.
06-01-2016, 04:22 PM
no problem for 1 & 2, not important.
For 3, will read again then, maybe i missed something. Anyway, project is acheived now, thanks for your help...
10-17-2016, 08:04 AM
just reactivation for a problem I can solve and would make the toolbar more useful
The macro works as expected, i.e it monitor changes and modifies toolbar label as wished if relevant info if found on the matching url. But the hook function does not allow to type in url bar without "eating" the typed keys, and therfore i can't anymore use the google search function. Where can I modifiy it to allow search on type, but pass keys as usual if nothing relevant is found? ty
10-17-2016, 08:24 AM
What code it is? Please post all related functions or remind me which of the posted code it is.
10-17-2016, 08:40 AM
Macro Macro16
if(getopt(nthreads)>1) ret ;;allow single instance when this code is loaded (function running in QM), all works flawlessly for what i need except i can't anymore type urls in chrome's url edit box....
10-17-2016, 09:25 AM
the problem is the last
SendMessage win("CHROMEBAR" "QM_toolbar") WM_MYMESSAGE 0 &x.h function, which prevents typing int the chrome url's bar..... |
« Next Oldest | Next Newest »
|