Beruflich Dokumente
Kultur Dokumente
this file contains notes on the conventions used while developing winfile.exe.
it is broken into several sections:
o window definitions
o window relationships
o message conventions
o variable conventions
o utility functions
o source file organization
o segmentation
o etc.
window definitions -
window relationships -
message conventions -
fs_changedisplay:
this message causes the window to alter the contents of what it's
displaying. it is valid for directory and search results windows.
there isn't a return value.
fs_getdirectory:
this message stores the window's current directory in the buffer
pointed to by lparam. it is valid for the tree and directory mdi
windows. the path is returned in upper case and always ends with
a backslash.
fs_getdrive:
this message returns the single letter designation of the window's
current drive. it is valid for tree and directory mdi windows.
the letter is returned in upper case.
wparam - unused
lparam - unused
fs_getselection:
this messages returns a near pointer to a string containing the
names of the window's selected file(s seperated by spaces. the
string is returned upper case. no path info in included unless
a directory is selected. the directories includes full path info
and not terminated with backslash.
variable conventions -
window words -
each mdi child window has the following extra bytes allocated with it:
in addition, mdi children have the following extra bytes which are
specific to them:
utility functions -
source file organization -
segmentation -