Data types - windows programming, Visual Basic Programming

Assignment Help:

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.


Related Discussions:- Data types - windows programming

Events - intrinsic contol, Events: The Controls are placed on a form a...

Events: The Controls are placed on a form and then to make them functional an "event procedure" is related with the control object. An event process is what happens in respons

ADO.net architecture, write a detailed account on ADO.net architecture.

write a detailed account on ADO.net architecture.

#tit, anumberisprimeornot

anumberisprimeornot

Retrieval methods - document in visual programming, Retrieval Methods: ...

Retrieval Methods: There are 3 ways to find a document. The primary method is a positional retrieval. This is achieved by keeping in mind where you left it. The next method is

Vb script coding conventions, Coding conventions are recommended that may h...

Coding conventions are recommended that may help you write code via Microsoft Visual Basic Scripting Edition. Coding conventions can include the given: Naming conventions for ob

Gdi object cpen, Illustration of GDI object CPen: 1. Generate a SDI ap...

Illustration of GDI object CPen: 1. Generate a SDI application. And name it as gdipen. 2. Press ctrl (control key) and W altogether to invoke the class wizard. 3. Choose

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd