Well from the tutorial
This what you wanted?PHP Code:hwnd = CreateWindow( "My Window", //This is The Class That Is Registered For The Window
"Skeleton Window", //This Is The Title Of The Window
WS_OVERLAPPEDWINDOW, //The Flags To Change The Properties Of The Window. In This Case Its Telling Us To Make A Overlapped Window, Which Is The Default Window Flag
CW_USEDEFAULT, //This Is The X Position For The Window. You Could Put An Int In There Like 10 or 100
CW_USEDEFAULT, //This Is The Y Position For The Window. You Could Put An Int In There Like 10 or 100
CW_USEDEFAULT, //This Is The Width For The Window. You Could Put An Int In There Like 10 or 100
CW_USEDEFAULT, //This Is The Height For The Window. You Could Put An Int In There Like 10 or 100
HWND_DESKTOP, //This Is The HWND For The Window. This Important When Making Buttons Or Other Items That You Put On The Window. In This Case Its The HWND For The Desktop, Since The Window Will Be A Child Of The Desktop
NULL, //This Is Where You Would Tie In A Menu, Or A Menu Value. Its NULL Because There Is No Menu On The Default
hThisInst, //This Is The Instance For The Window. Generally Passed To It In WinMain()
NULL ); //This Is Generally Not Used




Reply With Quote