Microsoft KB Archive/11365

{|
 * width="100%"|

HOWTO: Create a List Box Without a Scroll Bar

 * }

Q11365

-

The information in this article applies to:


 * Microsoft Windows Software Development Kit (SDK)
 * Microsoft Win32 Software Development Kit (SDK)

-

SUMMARY
When LBS_STANDARD is used as follows

  LBS_NOTIFY | LBS_SORT | WS_BORDER | LBS_STANDARD the following results (as defined in WINDOWS.H):

  LBS_STANDARD = #00A00003; /* LBS_NOTIFY | LBS_SORT | WS_VSCROLL | WS_BORDER */ To create a dialog box that contains a list box without the vertical scroll bar, use NOT WS_VSCROLL as the style for creating a list box control without a vertical scroll bar, as follows:

  (LBS_STANDARD & ~WS_VSCROLL)  // NOT WS_VSCROLL Additional query words:

Keywords : kbCtrl kbListBox kbOSWinNT kbOSWin2000 kbSDKWin32 kbGrpDSUser kbOSWin

Issue type : kbhowto

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch kbWinSDKSearch