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
STORAGE AND RETRIEVAL SYSTEMS   The storage system is a depository. It is a physical container and gives mechanisms to put in the depository and take them back. The retrieval

Hi, i need help in vb.net for the pelmanism game. I will appreciate if you can get back to me please

two sides are given of a sheet e.g 23*36 i want half or 1/2 of this sheet next i want 1/4(one fourth) of this sheet if sheet size is 23*36 next i want 1/8 similary as above

WINDOWS PROGRAMMING The Windows programming is a developing application using the C and the native Win32 application interface (API) or C++ and the class libraries like Microso

Device Contexts: The Device Context (DC) is represented by the data type Handle to Device Context (HDC). The HDC is a handle to somewhat you can draw on; it can be the whole s

THREE MODELS FOR USER INTERFACE DESIGN   The 3 models for the user interface design are the implementation model, mental model &the manifest model. The Implementation Mod

You declare variables explicitly in script via the Dim statement, the Public statement, & the Private statement. For illustration: Dim DegreesFahrenheit You declare multiple

The objective of this unit is to describe the basics of VBScript. After completing this unit, you will be capable to write code for Web pages via VBScript. You will be able to unde

Visual Processing: Our mind groups the things into patterns and this allows us to process the visual information. Understanding and applying how the human mind processes the v

MODELESS DIALOG The Dialog boxes are either modal or modeless. The modal dialog box should be closed (Unloaded or hidden) before you can continue the working with the rest of t