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

Looping, how to make logic of o program and how to use loop

how to make logic of o program and how to use loop

Gdi objects, GDI OBJECTS   The CDC provides 5 versions for the GDI obj...

GDI OBJECTS   The CDC provides 5 versions for the GDI objects. They are fonts, brushes, pens, bitmaps and regions. The Select Object function substitutes the current GDI objec

Check whether a number is palindrome or not, Function IsPalindrome(str) ...

Function IsPalindrome(str) Dim iStart,iEnd,ctr,blnPalin str=trim(str) blnPalin=true iEnd=len(str) iCnt=round(iEnd / 2) iStart=1 for ctr=1 to cint(iCnt) if(mid(str,iEnd,

File system controls, FILE SYSTEM CONTROLS There are 3 file system cont...

FILE SYSTEM CONTROLS There are 3 file system controls as shown in figure. The drive list box, directory list box & the file list box. The drive list box control is used to exhi

Variant subtypes, Beyond the simple string or numeric classifications, Vari...

Beyond the simple string or numeric classifications, Variant can make added distinctions regarding the specific nature of numeric information. For instance, you can have numeric in

Hungarian notation, Hungarian Notation: The Hungarian Notation was inv...

Hungarian Notation: The Hungarian Notation was invented by Charles Simonyi from Microsoft. It is a naming convention. It is a reminder of the type of a variable. The Handles h

Features of user interface design, FEATURES OF USER INTERFACE DESIGN Th...

FEATURES OF USER INTERFACE DESIGN The features like how will the software's are used? Who will be the users? What will be the life of the software? During its lifetime how ofte

Dialog boxes in vb, DIALOG BOXES IN VB The two dialog boxes, namely, th...

DIALOG BOXES IN VB The two dialog boxes, namely, the message box and the input box are usually used in the Visual Basic. The message box is used for displaying the messages to

Programming, steps of connecting database from vb6.0

steps of connecting database from vb6.0

Associating toolbars for the menu - visual basic, Associating Toolbars for ...

Associating Toolbars for the menu: 1. Insert the tool bar control to your form. 2. Now follow the steps to append the tool bar control to your form. 3. Then, Right Click

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