saves to the clipboard the cyan, magenta and yellow layers of the loaded bitmap
one after another
after each of the layers is saved, it calls the
stepFunction
with a description of which layer has just been evaluated as a parameter
Main application:
menu with options:
Load DLL / Close DLL / Process Clipboard
Close DLL and Process Clipboard options are grayed if no DLL is loaded
Process Clipboard executes the function containted in the DLL
implements the
stepFunction: it launches a MessageBox with the
message passed to a function as a parameter
Requirements:
correct use of bitmaps, GDI objects and DCs (if any are needed)
each library opening should be paired with library closing, the same applies to
clipboard
Hints:
the layers can be obtained with: RGB(GetRValue(cr), 255, 255),RGB(255, GetGValue(cr), 255),RGB(255, 255, GetBValue(cr)),
where
cr
is the colour of the original pixel