Programming

To Establish Control of the Windows SDK Programming

Fadıl

I. Overview
Control is a child window, they are already defined window class, so there is no need to register, do not need to write the message processing function.
WM_CREATE message in the main window, create a child window can be.
Second, the instance

/ / Parameters: window handle, message, message parameters, message parameters
LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
/ / Handle messages of interest switch (message)
{
case WM_CREATE:
CreateWindow (TEXT ("BUTTON"), / / ??control class name "
TEXT ("& button (A)"),
WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, 10, 10, 100, 100, hwnd, (HMENU) 1000, 
/ / ??control ID
((LPCREATESTRUCT) lParam) -> hInstance, / / ??instance handle
NULL);
return 0;
case WM_DESTROY:
/ / When the user closes the window, the window is destroyed, the end of the need,
 send exit message to exit the message loop PostQuitMessage (0);
return 0;
}
/ / Other messages to the default processing functions provided by the return ::
 DefWindowProc (hwnd, message, wParam, lParam);
}
typedef struct tagCREATESTRUCT {
LPVOID lpCreateParams;
HINSTANCE hInstance; / / instance handle HMENU hMenu;
The HWND hwndParent;
int cy;
int cx;
int y;
int x;
LONG style;
The LPCTSTR lpszName;
LPCTSTR lpszClass;
DWORD dwExStyle is;
} CREATESTRUCT, * LPCREATESTRUCT;

Fourth, control and collaboration of the parent windowThird, on the WM_CREATE message
The WM_CREATE lParam parameter will be passed into a set-up information structure pointer (LPCREATESTRUCT). The structure contains some useful information (when the window to create a parameter).

What is a worm and what are the top 10 worms of all time?

What is a worm and what are the top 10 worms of all time?

Fadıl

Hello Everybody! This is article again on techsoftcenter to discuss worms, some creepy worms in computers. In my previous post, I have already discussed the virus, top 10 hacks, iloveyou virus, and its source code.

What is a worm?

The worm is an animal which moves very slowly and this is according to science. In computers, the worm is something which makes the computer slow by replicating itself. Maximum worms won’t do any harm but they will replicate themselves and captures free space.

I LOVE YOU Virus Source Code and History

I LOVE YOU Virus Source Code and History

Fadıl

This post is about one of the greatest hacks all the time, ILOVEYOU virus aka love letter virus which affected 10 million computers and almost 10% percent of computers at the time of 2000.

Cheap History

On 5th May 2000, Reonel Ramones and Onel de Guzmen of Philippines created a virus name ILOVEYOU. It originated in Pandacan then spread across honking, Europe and then to US. This effected the loss around $20 billion.

Beware of These Shortcomings When Deploying Distributed Java Apps

Fadıl

At different levels of industry as well as individual practices, different software apps are deployed and incorporated in the business model in order to perform technical tasks and operations in a more streamlined manner. Furthermore, several development technologies are tried and tested in the making of such software, in order to render them with maximum effectiveness and innovativeness. The scope of the application is expanded by putting different technologies at work.

JavaScript Error Handling

Fadıl

Error handling is a very important topic, not only in JavaScript but also in development in general. Let’s face it. Even if you write the most perfect code, once you put your code outside of the local environment to users to use, chances are, your code will fail eventually. Your code can fail due to numerous reasons, for example, user can enter some erroneous data or they can have networking issues. When this happens, it is important to show the user informative and appropriate error message. Otherwise, you may cause frustration on the user end, which is something that either the programmer nor the user want. So let’s take a look at the example of how we can handle errors in JavaScript.