Data types - windows programming, Visual Basic Programming

Data types:

The New data types were defined by using the typedef or #define statements. This was to allow the transition from 16 bit to 32 bit system. Some of the fresh data types are MSG, WNDCLASSEX, HINSTANCE, PSTR, WPARAM, UINT, LPARAM, LRESULT, HDC and HWND. The significance of the new data types are as follows:

HINSTANCE is a Handle to an illustration that is the program itself.

PSTR is a pointer to the character string, that is, char *.

HWND is a Handle to the window.

MSG is the message structure.

UINT is an unsigned int.

WNDCLASSEX is a window class configuration.

LRESULT is of the type LONG.

HDC is a Handle to the Device Context

When Windows was 16 bit WPARAM was a WORD that was a 16 bit unsigned short integer and LPARAM was LONG that was a 32 bit signed long integer. Therefore only the 'W' & 'L' prefix. In the Windows 95 WPARAM is the UINT and LPARAM is LONG. Both of them are the 32 bit values.

Posted Date: 10/9/2012 7:47:40 AM | Location : United States







Related Discussions:- Data types - windows programming, Assignment Help, Ask Question on Data types - windows programming, Get Answer, Expert's Help, Data types - windows programming Discussions

Write discussion on Data types - windows programming
Your posts are moderated
Related Questions
Check Box: The check box control takes the value as on or off or grayed. The grayed one is neither on nor off. The user can transform the setting of the grayed check box.

want a visual basic code on Hungarian method

Input Box: To demonstrate the use of the Input Box as shown in figure. Now consider the illustration shown below: 1. Initiate a new project 2. Select the standard exe

HOW TO SOLVE ORDINARY DIFFERENTIAL EQUETION IN VISUAL BASIC PROGRAMMING

Just like normal objects Dictionary object also has definite properties. These properties can be set to any valid value & can be retrieved as and while required. Pr

Adding Handlers With Class Wizard: Whenever a handler is added, the class wizard places the prototype for the message handler in the header (.H) file. It gives a skeleton hand

The Frame: As the name suggests, the frame is a combination of the building blocks, structure and the borders of an item. The frame gives the "physical" presence to a window.

I am a beginner in Visual basic 2012 and making a data management programme with visual basic 2012 as front end and MySql as back end. I want to filter data grid view table with Li

You can employ For...Next statements to run a block of statements a specific number of times. For loops, employ a counter variable whose value is increased or decreased with each r

Task 1 - Design the DATEX operator's user interfaces for: 1. Preparing messages. 2. Sending messages. 3. Viewing received messages. 4. Optionally view the details of the codin