메뉴 바로가기

서브메뉴 바로가기

본문 바로가기

logo

C/C++/MFC

WINDOW 스크롤바 안나오게 scrollbar disable

2006.05.23 13:35

WAT_운영자 조회 수:16478

아래 멤버함수를 이용해 보세요.



void ShowScrollBar( UINT nBar, BOOL bShow = TRUE );



             ShowScrollBar( SB_BOTH   , FALSE);      





·         SB_BOTH   Specifies the horizontal and vertical scroll bars of the window.

·         SB_HORZ   Specifies that the window is a horizontal scroll bar.

·         SB_VERT   Specifies that the window is a vertical scroll bar.