|
Thanks, I appreciate you mentioning that. But the problem I was having had to do with setting it, not checking if it was set. Turns out I was setting it correctly but I was also not un-setting the other radio buttons. It's working fine now.
Jack
|
|
|
|
|
Check out CheckRadioButton api on msdn.
Thank You
Bo Hunter
|
|
|
|
|
Hi,
I am creating an app that requires a lot of settings and im wondering what would be the best way to structure them. Is the best way just to create a dialog for each of them and hook everything up as a stub and then fill everything else in?
Im just trying to get a feel for how other people design their applications. I find the MFC framework a little constrictive when im trying to pass data around.
Im trying to minimise time in case I later want to use a list view control/tab style e.g. tools->options in FireFox for all settings rather than an a menu option for each dialog. If I just create a dialog
for each settings would it be easy to convert it to a tools->options style dialog later on?
What are peoples thoughts and how do you structure that inital GUI so it is more extendable later on?
|
|
|
|
|
Seperate the GUI out from the rest. Make it really easy for the Human Factors team (if you don't have one, pretend there is one who designs all the screens) to change anything.
That is your program just recognises settings from a simple interface. The setup can be easially changed because the screens know nothing about how the rest of the program works.
|
|
|
|
|
how to play stream audio? someone can help me, thanks
Nho'c Ti`
|
|
|
|
|
would like to learn video game programming, but i don't know where to start. can anyone help me!!!? I do know some c++, but thats it. any help is appreciated.
dee
|
|
|
|
|
you don't need a lot of C++ knowledge to create a great game;but depending on what kind of game you want to do, the level of c++ knowledge will be higher, mostly for optimisations and/or graphics.
What kind of game you what to do ?
the most important thing is to have a great idea or a good story ( if applicable ).
one good site dedicated to game programming is (or was )
http://www.gamedeveloper.com/
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
something along the line of tetris or bejeweled...trying something simple for a mobile device.
dee
|
|
|
|
|
This site is very helpfull thank you. i have been on this site for the pass two hours.
dee
|
|
|
|
|
ok ....herez a cool site.....very informative for beginners
http://www.gametutorials.com[^]
yup.....hope u find it useful.....
happy programmin
cheerz
|
|
|
|
|
Since you are wanting to write for mobile devices. You might want to check out GapiDraw. It will provide you a graphics engine that will run on standard PC (DirectX) and CE enabled devices (GAPI).
http://www.develant.com[^]
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
thanks! i really appreciate the help. can you program in c++ for mobile devices? or is it better to use flash action script or java?
dee
|
|
|
|
|
Yes, I am using C++ for my CE games. I am almost finished with my first, a flavor of Space Invaders!
I suppose it is really a matter of what language you prefer. I guess you can be most productive with a language you know.
However, Java, C# etc could be used if you prefer.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
|
thanks about to check it out..
question would you recomend the book "beginning c++ game programming?
dee
|
|
|
|
|
I'm relatively new to win32 programming and im just looking to get a small application together that causes a windows application to have a 'shade' effect when one double clicks the title bar (instead of maximizing)... If anyone can give me some tips and/or examples I would appreciate it very much.
Thanks in advance.
Regards,
Will
|
|
|
|
|
Handle the WM_NCLBUTTONDBLCLK message. This is the message sent when a double-click occurs in the non-client area of a window.
the WPARAM variable should contain a hit-test value, one of which is HTCAPTION, signifying a hit on the caption bar.
if (wParam == HTCAPTION)
// do whatever
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
8-)
Thank you, this helped me a lot
|
|
|
|
|
Is there a function to tell you what's the size of current window? So I can do wordwrap if the user shrink the window or draw horizon line that stretch all the way across
|
|
|
|
|
Ooops forgot to mention. Using MFC default Document/View
|
|
|
|
|
|
ok.....;)
define a variable......
CRect rect;
then use the the function.....
GetClientRect(rect);
then u can get the properties of the window using the following functions.....
x=rect.Height();
y=rect.Width();
hope that helpz.....
happy programmin.....
cheerz
|
|
|
|
|
For a MFC application I have been using the standard windows timers (WM_TIMERS - SetTimer() etc).
However sometimes data is missed, I was thinking of using Multimedia timers.
The resolution of my PC is 1 msec (I though it was 10 msec via a timer program).
My question is: Is 50 msec too hard for Windows 2000 to meet.
It is difficult to test for missing data, but I think the Multimedia timers are also missing some data. Do I need to rethink the situation?
grahamfff
|
|
|
|
|
Multimedia timers would likely be better, however I would think processing incoming data would be better handled in a worker thread and posted back to the main thread.
Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
|
|
|
|
|
i seriously dont think that 50ms could be the reason.....they are interrupts(timer) and therefore they are serviced at the rigth time.....;)
|
|
|
|