FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour cGetDir Flags
Posts: 36
Joined: Tue Jun 17, 2008 07:09 AM
cGetDir Flags
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
cGetDir Flags
Posted: 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:
   if ( ISNUM( 5 ) )
	  lpbi.ulFlags = _parl( 5 ) ;

It should be:
   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
Posts: 36
Joined: Tue Jun 17, 2008 07:09 AM
cGetDir Flags
Posted: Tue Sep 09, 2008 05: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
cGetDir Flags
Posted: Tue Sep 09, 2008 09: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

Continue the discussion