When using a listbox, I am list all drives. I want to use LBN_DBLCLK(or whatever the dbl clk for LB is) to switch drives. I try it but it won't show the DDL_DIRECTORY when u do a double click.
When using a listbox, I am list all drives. I want to use LBN_DBLCLK(or whatever the dbl clk for LB is) to switch drives. I try it but it won't show the DDL_DIRECTORY when u do a double click.
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
To visualize the directory tree/files, you *have* to implement the adequate code, too.
You're expecting from your compiler to read your minds?
Well, then wait a little bit, I'd say 100 years (taking in account the current hw-sw boom)
Following functions might be of use:
_chdrive, FindFirstFile and FindNextFile.
It's not the easiest task to accomplish, though...
What are you working on? Kinda NC-clone?
Have fun!
[R]evolution!
Programming related articles, downloads, demos
Ok, thanks. I will look them up on MSDN Library!
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
Have you looked at the LB_DIR style?
Or DlgDirList()?
They fill a listbox with the drives and folders ect.
Are you using a Combobox or ListView(listbox)? (Treeview would be my choice as it will draw all the lines ect.)
DDL_DIRECTORY is specific to Comboboxes.