Archive: Disable Scrollbar ? (Static Page)


Disable Scrollbar ? (Static Page)
I’m want to disable scroll bar on “Page instfiles” but I can't figure out how…

I’m trying using this: but no effect.


FindWindow $R0 "#32770" "" $HWNDPARENT
GetDlgItem $R1 $R0 1016
System::Call 'User32::ShowScrollBar(i,i,b) ($R1,SB_BOTH,0)'


Where its mistake?
Thanks

I’m found how… scrollbar seems to disabled but still visible… :(


!define SB_BOTH 3
!define ESB_DISABLE_BOTH 3

System::Call 'User32::EnableScrollBar(i,i,i) ($R1,${SB_BOTH},${ESB_DISABLE_BOTH})'
System::Call 'User32::ShowScrollBar(i,i,b) ($R1,${SB_BOTH},0)'