Is anyone using CB_DIR message with no problems when compiling with MingW? I canīt use it. No matter which wParam I add to it (DLL_*) I get it is 'Undeclared". MSDN tells me I should only be including windows.h and linking user32.lib what I am doing off course. The rest of the program, messages and controls work perfectly.


Maybe thereīs some problem on using this message with MingW libs? Or am I just beeing stupid on something?
Code:
SendMessage(combobox1, CB_DIR, DLL_DRIVES, "c:\\");
I get undeclared to any of this:
DDL_ARCHIVE
DLL_DIRECTORY
DLL_DRIVES
DLL_EXCLUSIVE
DLL_HIDDEN
DLL_READONLY
DLL_READWRITE
DLL_SYSTEM

By my googling it looks like I am the only idiot who is having problems with it in the face of earth.
Any ideas?
Thanks