   CreateDialog () &  GetModuleHandle()
  hi everyone,i read the MSDN definition for those Functions but i couldn't Understand ...The Functions' definition are:HMODULE GetModuleHandle( LPCTSTR lpModuleName);HWND CreateDialog( HINSTANCE hInstance, LPCTSTR lpTemplate, HWND hWndParent,  DLGPROC lpDialogFunc); what do this functions do? what are the return types reference to ? andin "CreateDialog" what is the hInstance stands for ?thanx in advance,Sawsan A.Emam   
  Diving strait into windows programming by reading the API may not be the best way to learn it.  Try:http://www.winprog.org/tutorial/The HMODULE is a handle to a module, and HWND is a handle to a window.  HINSTANCE is a handle to an instance of the program, when the program runs and WinMain enters it will have the handle to the instance, so you can use that.   