Hi, is there a message for initialising an ordinary window?
what I mean is, say you had a dialog function you have a WM_INITDIALOG message, which you can use to set initial data, is there an equivilant message for an ordinary window?
Hi, is there a message for initialising an ordinary window?
what I mean is, say you had a dialog function you have a WM_INITDIALOG message, which you can use to set initial data, is there an equivilant message for an ordinary window?
Maybe:
in your part where it says something like:
switch(message)
{
.
. //code
.
}
try adding case WM_CREATE:
Website(s): http://www16.brinkster.com/trifaze/
E-mail: [email protected]
---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
DOH
WM_CREATE, why didn't i think of that(bangs head on moitor).
thanks dude, been scratchin my head for ages heh heh