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
MDI Application: The MDI application utilizes the main frame window as the work space in which the user can open more document frame windows.

In this assignment, you will create an application that calculates and displays a customer's monthly cable bill. Your interface should look like this: Requirements:

Question 1 Create a VB application to make the text bold, italic, underlined and also color the text (using checkbox, option button, textbox controls) Question 2 Create a

Databound Controls - A controls use to display the contents of table using Data Control , have to bound each Control to the specific field and the controls are Known as the Data Bo

Objective: To develop an Application (Excel + VBA) that determines the optimal inventory policy under an All-Units Discount scheme. APPLICATION CHARACTERISTICS Consider the

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

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

Software With Inappropriate Behavior: You would save a document; print it, and then you'll try to close it. The program will ask you if you want to save. This is because; the

How to pull ordered menu from a cash till to database or display on a computer screen