|
Easy to learn and get started:
OpenGL (I hear the DX is getting better)
Portable:
OpenGL
Most advanced and will stay that way:
DirectX
However, OpenGL implements extensions that provide most if not all the same functionallity. However, these extensions are vendor specific and many times are VERY hard to locate documentation.
Programming for the X-Box:
DirectX
Driver quality:
???? (Someone else can answer this)
What are game programmers using:
DirectX mostly. Some are still doing OpenGL, but the non-Windows market is pathetic so I really don't see the advantages.
Tim Smith
Descartes Systems Sciences, Inc.
|
|
|
|
|
Thanks for the reply!
I got the impression that I'd be better with OpenGL since
it's platform independant.... ¿
Regards,
Antoine
Coming home from Vancouver. I look like a hobo! lol
|
|
|
|
|
If you are going to be porting to Mac, Linux, etc, then yes. Otherwise, if you are only going to developing for Windows, then portability really isn't a concern.
Tim Smith
Descartes Systems Sciences, Inc.
|
|
|
|
|
Hi,
I am going to use SHBrowseForFolder in my application. Is there any dependency issues with this? Will it automatically work on Windows 95 onwards?
Thanks Again
Rich
|
|
|
|
|
The API works on all OSes, however not all of the flags do. MSDN lists which flags are suppoted on which OSes.
--Mike--
"Everyone has figured out what 'service pack' really means, so they had to go and change the language. Perhaps this is what Bill was talking about in the 'security is top priority' letter."
-- Daniel Ferguson, 1/31/2002
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
I have two buttons in my toolbar,that have the same identifier with two menu,
I've overriden ON_COMMAND and UPDATE_COMMAND_UI for both of them,
in UPDATE_COMMAND_UI I used SetCheck(),
when I run my application menus update correctly
buttons don't,any suggestion?
Mazy
Don't Marry a Person You Can Live With...
Marry Someone You Can Not Live Without
|
|
|
|
|
Have you used the TBSTYLE_CHECK style for your toolbar buttons?
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
you mean this:(or something like this)
if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT|TBSTYLE_CHECK, WS_CHILD | WS_VISIBLE | CBRS_TOP| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||!m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
It doesn't work
Mazy
Don't Marry a Person You Can Live With...
Marry Someone You Can Not Live Without
|
|
|
|
|
Hi All,
Can anybody help me out find some way in an application in which a vector can be pass thru commandline
The vector which i wanna send is STL(Standard Template Library) based vector
|
|
|
|
|
A vector itself cannot be passed via the command line. You can pass the data as arguments to a program. There are many classes on CodeProject for reading command line arguments.
Michael
|
|
|
|
|
Im not sure if I understand the question correct, but I suppose you could
put all arguments in a string and feed it to system() if the data consists of standard types. Otherwise you might want to serialize the data to a file and pass the file as input to the commandline..
/moliate
|
|
|
|
|
Hi.
I got some help a while back to deleting directories directly using SHFileOperation.
All works fine when I set the file name directly as "d:\...\..." in the WIN32_... variable. If I use char chFile[] = "d:\\..." it is OK too.
However, because I need to search through the directories and eliminate what I need, I tried to use sprintf and also CString to set the directory path and using this to delete the directory. It doesn't work. I think it has to do with needing a LPCTSTR which is a constant and what I am doing is not constant.
How do I get around this or how would I proceed? I am really stuck on this.
Thanks.
|
|
|
|
|
You're probably not getting the pFrom buffer right, it needs to be terminated with two zero bytes, which sprintf() does not do. Check out my SHFileOperation wrapper class in the Shell section which handles creating all the buffers for you.
--Mike--
"Everyone has figured out what 'service pack' really means, so they had to go and change the language. Perhaps this is what Bill was talking about in the 'security is top priority' letter."
-- Daniel Ferguson, 1/31/2002
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
I have a regular combobox, and I want the selected item (the item shown in the editbox area of the combobox) to be automatically updated when I write something in another editbox. I also want this string to be "stored", so that next time I pull down the combobox this string is still there. So just manipulating the editbox itself isn't good enough. I also want the index to not change. I'm not using MFC, just plain Win32 API stuff.
I hope you understand what I mean :]
Sprudling
|
|
|
|
|
1. Get the index of the item that is in the edit area of your combo box with the CB_GETCURSEL message.
2. Remove this index from the combo box. That will remove this string completely. Use the CB_DELETESTRING message.
3. Get the text from your external edit box, probably with the WM_GETTEXT message.
4. Insert the new text string at the same index of the original string with the CB_INSERTSTRING message.
One more good tip it to send a WM_SETREDRAW message with false in the WPARAM field, before you even start removing and inserting the strings in the combo box, because this will make it so that the combo box does not redraw itself while you are manipulating the data.
When you are done, send a WM_SETREDRAW message with TRUE in the WPARAM field, and this will force the combo box to repaint with all of the new data.
|
|
|
|
|
Thanks, it worked
At least when I sent a CB_SETCURSEL message with the index to the combobox afterwards.
And thanks for the WM_SETREDRAW thing too
Sprudling
|
|
|
|
|
The command line in a MFC app contains the path tio the exe, but how can make my app so it doesnät contains the exe path?
------------------------------------
Rickard Andersson, Suza Computing
ICQ#: 50302279
I'm from the winter country SWEDEN!
------------------------------------
|
|
|
|
|
Rickard Andersson wrote:
The command line in a MFC app contains the path tio the exe, but how can make my app so it doesnät contains the exe path?
What is your objective in doing that?
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
It is possible to access each arg independently if you want to. They are in the variables __argc and __argv. Actually, MFC itself uses these to paste together the command line string. You must include stdlib.h to access them.
|
|
|
|
|
Nice first day of XIX Olympic Games
Can you tell me how sort items in CListCtrl by values of items in columns ? I do not know if is better use C++ function QSort() or CListCtrl::SortItems ? What is better for sorting items as is in Outlook or Explorer ?
Thank you!
Wiizi
|
|
|
|
|
Click here to find lots of things about list conyrol
Mazy
Don't Marry a Person You Can Live With...
Marry Someone You Can Not Live Without
|
|
|
|
|
How can I do that? the link tab is totaly different from what it used to be in vc++6
anyone can help?
|
|
|
|
|
yes,it changes a lot,but what do you want to do?
Mazy
Don't Marry a Person You Can Live With...
Marry Someone You Can Not Live Without
|
|
|
|
|
Or you could just use:
#pragma comment(lib, "somelibfile.lib");
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
sorry,I don't get you,
you want to add or ignore any library?
Mazy
Don't Marry a Person You Can Live With...
Marry Someone You Can Not Live Without
|
|
|
|