07-09-2007, 08:02 AM
Hi Gintaras,
I am not sure I understand your solution
Do I add the potential pdf locations to the ToolbarExProc_TWWB function or is this a new function?
The way I have this set up is that there are toolbar items across the top of the popup toolbar. Each one calls up a webpage or a pdf item within the toolbar window (which then acts like a browser between them). TO make this happen, I have appended
to each menu item, like this:
How Do I modify the hook function to allow this.
Will each menu item have to call up a separate ToolbarExProc_TWWB function to make this work?
By the way, what is the purpose of multiple website/file listings in the function?
Maybe more step-by-step explanation. I have come a long way in QM but sometimes need a little bit more help.
Thanks!!,
Stuart
I am not sure I understand your solution
Do I add the potential pdf locations to the ToolbarExProc_TWWB function or is this a new function?
The way I have this set up is that there are toolbar items across the top of the popup toolbar. Each one calls up a webpage or a pdf item within the toolbar window (which then acts like a browser between them). TO make this happen, I have appended
to each menu item, like this:
/hook ToolbarExProc_TWWB /siz 800 220 /set 2
Lifehacker, the Productivity and Software Guide :web "http://www.lifehacker.com/" win("TOOLBAR WITH WEB BROWSER" "QM_toolbar")
Google :web "http://www.google.com/" win("TOOLBAR WITH WEB BROWSER" "QM_toolbar")
Sample.pdf :web "$personal$\neuroimaging.pdf" win("TOOLBAR WITH WEB BROWSER" "QM_toolbar")
Back :web "Back" 0 TriggerWindow **How Do I modify the hook function to allow this.
Will each menu item have to call up a separate ToolbarExProc_TWWB function to make this work?
By the way, what is the purpose of multiple website/file listings in the function?
sel message
case WM_CREATE
int h=CreateControl(0 "ActiveX" "SHDocVw.WebBrowser" 0 0 20 200 200 hWnd 1)
SHDocVw.WebBrowser b._getcontrol(h)
b.Navigate("about:blank")
b.Navigate("http://www.google.com")
case WM_DESTROYMaybe more step-by-step explanation. I have come a long way in QM but sometimes need a little bit more help.
Thanks!!,
Stuart
