TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: ALL
from: ERIC CARMODY
date: 1996-08-30 14:01:00
subject: How to get scrollbar hwnd

Hi all,

Would someone kindle show me how to turn a vscroll bar belonging to a MLE 
visible/invisible.

I think I can get it working by setting its parent to HWND_OBJECT...

WinSetParent( VBarhwnd, HWND_OBJECT, TRUE );  //make invisible
and 
WinSetParent( VBarhwnd, MLEhwnd, TRUE ); //make visible

...my problem is in getting the vscrollbar hwnd.

I tried...

VBarhwnd = WinWindowFromID(MLEhwnd, FID_VERTSCROLL);

but that doesn't seem to work.

Can someone enlighten me please.

Thanks,
Eric
---
 þ RM 1.3 02837 þ 
--- PCBoard 15.2
* Origin: 32 lines 40 Gig BBS, Realtime InterNet SLIP (403)247-7900 (1:134/10)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 134/10 3615/50 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.