Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is use of the createWindow object

Answers were Sorted based on User's Feedback



what is use of the createWindow object..

Answer / kriba

CreateWindow() physically creates the Window in memory
based on the previousy registered WNDCLASS structure and
returns a vaild HANDLE for that Window

Is This Answer Correct ?    6 Yes 2 No

what is use of the createWindow object..

Answer / subeetha

The Windows API function used to create parent (top-level)
and child windows is called CreateWindow. As with many
Win32 API functions it has many parameters, most of which
are entirely relevant to the task in hand, so it is
important to understand each parameter with reference to
the others.

This article will explain the common setting used to create:

•Application Windows
•Parent Windows
•Child Controls
The first two uses are very similar, with the exception
that the second can be used to create non-application
floating windows that are children of a specific
application parent window (such as floating toolbars).

The Win32 API CreateWindow Parameter List
The CreateWindow function returns a Win32 HWND (window
handle), if creation has been successful. The parameters
that it takes are:

•LPCSTR lpClassName - the class name, a string;
•LPCSTR lpWindowName - the window title text, or child
control text;
•DWORD dwStyle - the WS_ and other (BS_, SS_, LBS_, CBS_
etc.) styles;
•int x, y, width, height - the x and y position, and width
and height of the window;
•HWND hParent - the parent window handle;
•HMENU hMenu - the menu handle or NULL, or a Child ID;
•HANDLE hInstance - the application instance handle;
•LPVOID lpParam - window creation data, usually NULL.
The lpWindowName parameter is just a string that is used as
the title bar text, or text for buttons, default text for
edit boxes, and so on.

Is This Answer Correct ?    3 Yes 0 No

what is use of the createWindow object..

Answer / meena

CreateWindow is a Win32 API used to create a window(
overlapped, child or main ).
While returning it sends message to WM_CREATE of the window
procedure

Is This Answer Correct ?    1 Yes 0 No

what is use of the createWindow object..

Answer / prateeku

I am not satisfied with that answer.

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Win32API Interview Questions

what is use of the createWindow object

4 Answers   HCL,


what is the difference between MFC and Win32

5 Answers   ArisGlobal, Microsoft,


How to load Bitmap at Dialogbakground in an MFC application?

1 Answers   SunSoft Technologies,


sql query for delete duplicate records in sql datadbase

0 Answers  


What is Function entry for DLL in win3.1?

0 Answers  


what Message displayed when a window is destroyed

3 Answers  


What is System call executable binary file into a process?

0 Answers  


System call executable binary file into a process

2 Answers  


write About send message and post message

4 Answers  


Function entry for DLL in win3.1

3 Answers  


Message to limit the size of window

3 Answers  


describe process of creating a new class of windows ??

1 Answers  


Categories