Looking for design docs on user controls like Textbox, ComboBox, etc...
I'm codign some of these controls from scratch, and they do work already, but I would like to see if someone came up with better ideas than I, and possible adopt them in my own design.
Have you seen something like this on the web? Could you post a liky or something?
Thank you very much!
You're unlikely to find a complete design document for controls as trivial as text boxes and combo boxes. I don't really see what kind of "ideas" you're expecting, these controls pretty much have well-defined behaviors that you shouldn't deviate from too much.
I'm worried about the font/text handling and displaying more than anything. I'm doing all this by myself too, so I would like to see how someone else handled this, just curious.
Why don't you take a look at how sun did it in Java. You can find the documentation here and the API here hope that helps.
EDIT: Ahh, where can I find a doc about what codes to use in this forum? I always forget how to do links etc...
EDIT: Ahh, where can I find a doc about what codes to use in this forum? I always forget how to do links etc...
@owl
I think that you could also look through the MSDN stuff for windows controls. They have a bunch of nice ideas that they used, their methods and interface are well designed, and I'd certainly reccomend using that (interface) as a starting point. I also seem to remember seeing some controls stuff used in a game situation in the source to Quake 2, but I'm not really sure if that's worth the download, because it's a pretty small subsection of the total code, and is pure C.
@garazdawi
I think that you can just use HTML and it'll work. Otherwise, there used to be a sticky, which has... (a few minutes later) been moved to http://www.gamedev.net/community/forums/faq.asp With some of the tags around 1/2 way down, though it's really just the
[ /source ] stuff that's useful...
[edit : Why did I expect that you'd be able to see what I was saying with the tags being replaced... Fixed.]
Anywho,
//end rant;
CJM
I think that you could also look through the MSDN stuff for windows controls. They have a bunch of nice ideas that they used, their methods and interface are well designed, and I'd certainly reccomend using that (interface) as a starting point. I also seem to remember seeing some controls stuff used in a game situation in the source to Quake 2, but I'm not really sure if that's worth the download, because it's a pretty small subsection of the total code, and is pure C.
@garazdawi
I think that you can just use HTML and it'll work. Otherwise, there used to be a sticky, which has... (a few minutes later) been moved to http://www.gamedev.net/community/forums/faq.asp With some of the tags around 1/2 way down, though it's really just the
and [ source lang="cpp" ][ /source ] stuff that's useful...
[edit : Why did I expect that you'd be able to see what I was saying with the tags being replaced... Fixed.]
Anywho,
//end rant;
CJM
You might also want to take a look at http://www.codeguru.com or http://www.codeproject.com.
They feature tons of self written controls. They use MFC a lot, but the code is still there to look at and with minor modification runs also well in pure Win 32 API.
They feature tons of self written controls. They use MFC a lot, but the code is still there to look at and with minor modification runs also well in pure Win 32 API.
Quote:Original post by Endurion
You might also want to take a look at http://www.codeguru.com or http://www.codeproject.com.
They feature tons of self written controls. They use MFC a lot, but the code is still there to look at and with minor modification runs also well in pure Win 32 API.
Both of these sites are great. I particularly like this control: CSizingControlBar
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement