Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vista Explorer: Using QM for usabiltiy
#1
do you know a quicker way to show/hide the search bar ?

vista_explorer tests
Code:
Copy      Help
;hide vista explorer search bar
int h_explorer=win("" "CabinetWClass" "explorer" 0x4)
int h_search=child("" "Search Control" h_explorer 0x1)
hid h_search
3
hid- h_search
pi
#2
very interesting, on window resize the search bar ever has the same width,
while the address bar is shrinking.

i never use the window search function,
so hiding the control allows to place a qm toolbar there.

vista_explorer tests
Code:
Copy      Help
;hide vista explorer search bar
int h_explorer=win("" "CabinetWClass" "explorer" 0x4)
int h_search=child("" "Search Control" h_explorer 0x1)
int h_address=id(41477 h_explorer)
int x y cx cy; GetWinXY h_address x y cx cy

hid h_search
;make more space for a toolbar right of "Address Band Root"
siz 600 0 h_address 2
2
siz cx 0 h_address 2
hid- h_search
pi
#3
some more thoughts:
http://www.nightchatter.com/qmscript/sy ... a-explorer
pi


Forum Jump:


Users browsing this thread: 1 Guest(s)