News: - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

Windows Function Calls

Started by sukishan, Jul 12, 2009, 06:35 PM

Previous topic - Next topic


Windows function calls
The sample SDK windows program makes calls to fewer windows functions. These functions with a brief description are:

1. Load IconLoads an icon for use by a program.
2. Load CursorLoads a mouse cursor for use by a program.
3. GetStockObjectObtains a graphic object in this case a brush used for painting the windows background.
4. RegisterClassRegisters a window class for the program's window
5. MessageBoxDisplays a message box.
6. CreateWindowCreates a window based on a window class.
7. ShowWindowShows the window on the screen.
8. UpdateWindowDirects the window to paint itself.
9. GetMessageObtains a message from message queue.
10.TranslateMessage Translates some keyboard messages.
11.DispatchMessage Sends a message to a window procedure.
12.PostQuitMessage To insert a "quit" message in to the message queue.
13.DefWindowProc Performe default processing of messages.
A good beginning makes a good ending

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it has been approved by a moderator.

Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S post or ALT+P preview