home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!decuac!pa.dec.com!decwrl!ditka!starnet!mzellers
- From: mzellers@StarConn.com (Mark Zellers)
- Subject: Size limitations on Open Common Dialog combo boxes?
- Message-ID: <1992Nov11.225904.6601@StarConn.com>
- Reply-To: jpat@fusion.com
- Organization: Starnet-Public Access UNIX--Los Altos, CA 415-949-3133
- Date: Wed, 11 Nov 1992 22:59:04 GMT
- Lines: 23
-
- There is apparently a 2048 character limit on the string returned from
- the Open common dialog when allowing for multiple selections.
-
- If I have a directory with several hundred files and I use the Open dialog
- to select all of them, the dialog is supposed to concatenate each file name
- selected into a single long string of space-delimited names. That string,
- however, is apparently limited to 2048 characters, or roughly 157 full length
- file names.
-
- The test program I wrote dynamically allocates the return buffer used by
- GetOpenFileName when the user presses OK. But by the time the message handler
- sees the FILEOKSTRING message, the string has already been truncated.
-
- The problem, I believe, is in the implementation of the combo-box which
- handles the selection and display of the file names.
-
- My question is: Is this a real limitation or is there some parameter I can
- change to allow bigger strings?
- --
-
- +-----------------------------------------------------------------------------+
- | Mark H. Zellers Mark@fsi.Fusion.COM|
- | Fusion Software, Inc 455 Sherman Ave, Palo Alto, CA 94306|
-