DevMaster.net Forums
[[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]]

Go Back   DevMaster.net Forums > Hosted Sites > TripleBuffer
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-16-2006, 11:27 PM   #1
darkelf2k3
New Member
 
Join Date: Dec 2004
Location: Hungary
Posts: 4
Default new windows tutorial

Every DX tutorial series begins with the intruduction of the necessary WIN32 API basics usually. Also, all of them mentions window classes, when it it really unnecessary IMHO. You can specify the predefined "STATIC" as window class, it will have the same effect. Window classes have their uses( well, only sindgle app instance forcing maybe ), but in this context its a bunch of unneeded info I think.
darkelf2k3 is offline   Reply With Quote
Old 05-16-2006, 11:46 PM   #2
bladder
DevMaster Staff
 
bladder's Avatar
 
Join Date: Sep 2003
Location: Hell
Posts: 1,109
Default Re: new windows tutorial

would'nt a static window be one that cannot be moved, and which has a pre-defined windows handler, and which you cannot the frame off and which you can't make use of the cb[Cls/Wnd/]Extra options?

Granted you can do all that with *other functions* after creating a static function, but putting in the info for all those other functions to get a little control over your window is, i feel, unneeded complexity.
___________________________________________
- TripleBuffer
- Me blog
bladder is offline   Reply With Quote
Old 05-17-2006, 11:13 AM   #3
Reedbeta
DevMaster Staff
 
Join Date: Oct 2004
Location: Seattle, WA
Posts: 3,707
Default Re: new windows tutorial

Yeah. Window classes are definitely useful, if for no other reason than the 'lpfnWndProc' member
___________________________________________
Currently working at Sucker Punch
reedbeta.com - OpenGL demos and other projects
Luabridge - a lightweight, dependency-free C++/Lua binding library.
CD Lite - an unobtrusive, minimal CD player application for Windows.
Reedbeta is offline   Reply With Quote
Old 05-17-2006, 11:47 AM   #4
kusma
Valued Member
 
Join Date: Aug 2005
Posts: 162
Default Re: new windows tutorial

Reedbeta: heh, i prefer snatching the window-messages in the message-pump instead
kusma is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump


All times are GMT -7. The time now is 07:01 AM.


Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.