how to i define a position for the program ??
also wat does this hwnd mean ??
how to i define a position for the program ??
also wat does this hwnd mean ??
If by the position of the program you mean where the window opens to relative to the screen you define that in your call to CreateWindow/CreateWindowEx (params 4 & 5, and params 5 & 6, respectively).
The HWND is a handle to a window. It's used to indentify a window when you need to get information from it or send information to it.
wats is the coding like ????
can demo ?
Monkeymon, you seriously have a problem with researching stuff for yourself don't you? What code would you like me to post? A call to CreateWindow? If you know how to use CreateWindow then you should know what params define the position and size of the Window.
becoz im using MFC so i dunno how to decare the createwindowex
sorry
or u have any webby for mi to check out ?
i can check it myself
When you are working with Mfc there is a couple of events you can catch. Open the Wizard and scroll through the events. VC will give you a short describtion of what they do. You want an event that happens with the window is created. Create a function using the wizard and add the code to positioning the window. You can find methods for that on msdn..Search for domodal and you will get close.
The fourth parameter to the MFC windows Create() method allows you to specify the position and size of the window. Look it up in the help.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.