Menu

CB_DIR, All wParams are 'Undeclared' ?

2003-02-08
2012-09-26
  • Nobody/Anonymous

    Is anyone using CB_DIR message with no problems? I cant use it. No matter which wParam i add to it (DLL_*) i get it is 'Undeclared".

    Maybe theres some problem on using this message with MingW libs? Or am i just beeing stupid on something?

          SendMessage(cbchoosecolorscheme, CB_DIR, (WPARAM)(UINT)DLL_DRIVES, LPARAM)(LPCTSTR)"c:\\");

    I get undeclared to all this:
    DDL_ARCHIVE
    DLL_DIRECTORY
    DLL_DRIVES
    DLL_EXCLUSIVE
    DLL_HIDDEN
    DLL_READONLY
    DLL_READWRITE
    DLL_SYSTEM

    MSDN tells me i should only be including windows.h, what i am doing off course.

    Any ideas?

     
    • Nobody/Anonymous

      are you typing them as DLL or DDL??
      They should be DDL.

      blackadder

       
    • Nobody/Anonymous

      ...oh shit...
      ...I am so ashamed...

      Thats it i am getting some sleep now and new glasses monday...

      Sorry, let this thread die please :|

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.