Submitted by Anonymous on Fri, 11/16/2001 - 05:39. Developers
how to get drives[ex;C,D,E,F...] using "File selection" Box,any one give me source code for getting drives,we are using windows2000 operating system.WAIT FOR REPLY
Tue, 07/03/2012 - 13:04
#1
Drives
You`d need to write your own file search procedure which uses operating-system level calls to change drives, get a listing of files, and return the list to the widget. See the XmFileSelectionBox man page for the format of these functions.
any one send source code for retrieve drives[C,D,E...] from WINDOWSNT operating system,
using xmfileselectionbox.
Wait FOr Reply.
The implication here, by the way, is that you are running an application using a version of Motif which is native to Window NT -- the application is a true Windows application and has access to the operating system calls supported by NT.
If, however, you are really using a machine which supports both Linux and NT, and your application is using Linux, then you`ll have access to the view of the disk supported by Linux.