| | |
DefWindowProc
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
here's a piece of window procedure. What does DefWindowProc do in this program.
LRESULT CALLBACK WndProcedure(HWND hWnd, UINT Msg,
WPARAM wParam, LPARAM lParam)
{
switch(Msg)
{
case WM_DESTROY:
// user wants to exit
PostQuitMessage(WM_QUIT);
break;
default:
// Hand off unprocessed messages to DefWindowProc
return DefWindowProc(hWnd, Msg, wParam, lParam);
}
return 0;
}![]() |
Similar Threads
- A multilingual coded Hello World! thread (Legacy and Other Languages)
- PUTTING C++ TO USE!!! (GUIs & MS Windows) (C++)
- nid help in using dialog box (C++)
- code problems (C++)
- graphic.h (Game Development)
- Need help with DirectX code (C)
- Error Linking KeyLogger.exe (C++)
- GDI (C)
Other Threads in the C Forum
- Previous Thread: Begginer Question
- Next Thread: MFC Countdown Timer
| Thread Tools | Search this Thread |
#include adobe ansi api array arrays asterisks binarysearch calculate centimeter char convert copyimagefile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax directory dynamic fflush file fork forloop framework frequency getlasterror givemetehcodez grade graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators infiniteloop kernel km linked linkedlist linux linuxsegmentationfault list lists locate logical_drives looping loopinsideloop. match matrix microsoft motherboard multi mysql number open opendocumentformat opensource owf pattern pdf performance pointer pointers posix probleminc process program programming radix recursion recv repetition research scanf scheduling scripting segmentationfault send sequential shape socket socketprograming stack standard string strings structures systemcall testautomation threads turboc unix user variable voidmain() wab windows.h






