|  |     Here are the questions, that I remember. Most of them I could not
    remember very well. They can give you just an idea of the test.
    
    Please complete this list with your experiences.
    
    GDI:
    1. Sample code containing CRect::NormalizeRect and CRect::OffsetRect
       was given.
       Question: How large is the resulting Rectangle?
    2. How is a WindowsDC created?
    
    GUI:
    1. Who handles the F1 key
    2. Who handles context sensitive help
    3. How does the View get a pointer to a Dialog Box that is in its Frame
       Window
    4. How is a modeless Dialogbox created (the answers contained methods
       like DoModeless and constants like CHILD and OVERLAPPED)
    5. How is a modeless Property Sheet invoked
    6. Choose the code line that dynamically loads an icon into the fourth
       button of a toolbar
    
    Architecture/Messages:
    1. A second view has to be provided. Wich class has to be added?
    2. Which class creates which class (CWinApp, CDocTemplate, CView,
       CDocument)
    3. Which class creates the View class (really another question!)
    3. The View embeds as dialog class, that contains an Edit Control.
       Which class gets the EN_CHANGE notification.
    4. Where is a good place for a handler for EN_CHANGE notification
    5. Is there a predefined name for a WM_SIZE handler
    6. What does a message map entry for a system registred message look
       like (answers: WM_SYSTEMMESSAGE, WM_REGISTRED, ...)
    
    Files:
    1. Deleting a file: Which method (answers: CFile::Remove,
       CFile::Delete, CArchive::Remove, CArchive::Delete)
    2. Is there a support for test files
    3. A CObject has to be written on disk - which method/operator
    
    Exceptions:
    1. Identify a code line that correctly catches a divide by zero error
    2. How would you throw a divide by zero error
    3. How do you throw a memory error an how do you catch it
    
    Database:
    1. Use of bookmarks
    2. Which function is called by the framework to find out, to which
       Database I'm connected
    3. How is DDX used (You have to choose a correct code line)
    4. Is it CRecordSet::Rollback or CDatabase::Rollback
    5. Which class uses DDX
    
    Registry:
    1. You are writing a private profile. When is it written into the
       WIN.INI and when is it written into the registry
    2. You want to kepp information about the opened files of a
       application, that is visible for all users. 
       Which hive in the registry do you use
    
    
    misc:
    1. How are threads synchronize using event objects: Who creates the
       event object and how is it used
    2. What is the RUNTIME_CLASS macro good for
    3. Differences 95/NT: which mapping mode/functions are not supported by
       WIN95
    4. Shipping: Which (two) DLL's have to be shipped, if the App has to
       support UNICODE
    
 |