MakeID
Posted: Fri Sep 23, 2011 11:30 am
I found a definition of the MakeID macro here http://www.martinreddy.net/gfx/2d/IFF.txt
#define MakeID(a,b,c,d) ( (a)<<<<24 | (b)<<<<16 | (c)<<<<8 | (d) )
I am a bit closer to understanding its use (although i don't understand the macro itself)
In the Gui4CLI (source) file i find a large number of such defines and two of them are pointing to the same definition.
#define LVFILTER MakeID('L','V','F','I') //
#define LVFILL MakeID('L','V','F','I') // def=ON - Draw a box under short lvs
The second seems to be effective
The first one which is used to filter out files (eg .info) in directory listviews does not.
My first impression was some kind of interference.
Can i disregard this as a cause?
The file in which i find these is Glob_Attr.h
======= extracts Glob_Attr.h ==============
// ############# private
// contains defines for gadget Attributes, INFO & SET commands
// Listview attributes
#define LVFILTER MakeID('L','V','F','I') //
// TextIn attributes
....
// Sound effect
#define SOUND MakeID('S','O','U','N') // sound Alias
// SET command keywords
#define LVFILL MakeID('L','V','F','I') // def=ON - Draw a box under short lvs
#define MakeID(a,b,c,d) ( (a)<<<<24 | (b)<<<<16 | (c)<<<<8 | (d) )
I am a bit closer to understanding its use (although i don't understand the macro itself)
In the Gui4CLI (source) file i find a large number of such defines and two of them are pointing to the same definition.
#define LVFILTER MakeID('L','V','F','I') //
#define LVFILL MakeID('L','V','F','I') // def=ON - Draw a box under short lvs
The second seems to be effective
The first one which is used to filter out files (eg .info) in directory listviews does not.
My first impression was some kind of interference.
Can i disregard this as a cause?
The file in which i find these is Glob_Attr.h
======= extracts Glob_Attr.h ==============
// ############# private
// contains defines for gadget Attributes, INFO & SET commands
// Listview attributes
#define LVFILTER MakeID('L','V','F','I') //
// TextIn attributes
....
// Sound effect
#define SOUND MakeID('S','O','U','N') // sound Alias
// SET command keywords
#define LVFILL MakeID('L','V','F','I') // def=ON - Draw a box under short lvs