cGetDir Flags

cGetDir Flags

Postby sanilpmc » Mon Sep 08, 2008 11:35 am

Dear all,

Please Help me, Which Flage is used to hide Make New Folder Option in cGetDir() Dialog Box.


Thank you
Sanil
sanilpmc
 
Posts: 36
Joined: Tue Jun 17, 2008 7:09 am

Postby Antonio Linares » Mon Sep 08, 2008 11:54 am

Sanil,

You have to use:

#define BIF_NONEWFOLDERBUTTON 0x0200

but there is a bug in cGetDir() to fix in this code:
Code: Select all  Expand view  RUN
   if ( ISNUM( 5 ) )
     lpbi.ulFlags = _parl( 5 ) ;

It should be:
Code: Select all  Expand view  RUN
   if ( ISNUM( 5 ) )
     lpbi.ulFlags = _parnl( 5 ) ;

We can send you the modified OBJ if you want to
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby sanilpmc » Tue Sep 09, 2008 5:42 am

Antonio Linares wrote:Sanil,

We can send you the modified OBJ if you want to


Dear Antonio Linares,

Thank you, I have changed the source and set the Flag as you said and its work fine.

Can you please send me the modified OBJ
My email address sanilpmc@gmail.com

Thank You
Sanil
sanilpmc
 
Posts: 36
Joined: Tue Jun 17, 2008 7:09 am

Postby Antonio Linares » Tue Sep 09, 2008 9:09 am

Sanil,

> I have changed the source and set the Flag as you said and its work fine.

If it is working fine, then why do you need the OBJ ? :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Natter, Silvio.Falconi and 77 guests