Hi friends, completely new on the Win32 API programming. I've learned two functions and their use in C [WndProc() & WinMain()]. I believe that one develop in this environment if they need to write programs which will have windows, dialog boxes, buttons, i/o (mouse, keyboard, etc). My question is, can i use some of the API functions in my own development tools/environment? I'm busy learning learning to write programs using QUEST (a Computer Based Training tool) which has it's own modules and frames where one can insert/draw objects (pictures/boxes/etc). My first task is to draw a line using a mouse, or a shape. So there only solution i have in my mind is to use MoveToEx(), and LineTo() functions to draw markers and use the WinAPI functions to handle mouse or window messages. My confusion is, most articles i read always have the two functions WndProc()to handle messages and WinMain() to create the window and run the application. In my case, i do not need to create a new windows since am using QUEST frames... Q. Is it possible to use WinProc without WinMain()?