Hi.
Here's a list of tutorials I came across while taking up COM. Hope u find them useful.
COM tutorial: Simple; "why COM?"
http://www.proobjectmentor.com/ArticlesIndex.htm
COM, OpenGl, MFC, DierctX & other tutorials.
http://www.acm.uiuc.edu/windevils/workshops.shtml
COM Tutorial...
http://www.opengl.org/developers/faqs/technical/mswindows.htm#mswi0160
Read the section
How can I use OpenGL with MFC?
ftp://ftp.frii.com/pub/martz/outgoing/GlView.zip
HTH
Have you written handlers for the controls? (Only then, they'll be enabled).
Tabstop attribute
WS_TABSTOP
will enable the control get the focus on tabbing.
I run Windows2000 Pro with IE5. I faced the same problem (IE getting stalled when opening a new webpage/window) even without upgrading to any new version of IE. All of a sudden I started having this problem. After much frustration and meddling with IE settings, I created a new user and enjoyed...
I have no previous knowledge of this game. The Artificial Intelligence book that I mentioned has detailed explanation of strategies used in several games, how to compute the alpha-beta cutoffs... You will get many ideas by reading it.
The 2 factors that I mean are:
1. The displacement of the...
I understand what you mean now. Write a handler for the "focus out" message for each dialog box & place the code for hiding the dialog box there. This way, when you click the main window, it will be unobscured.
Does this work?
- Karthika
1. You must use the "auto" keyword (check out the line of options for your hard drive) to automount a device.
4. There's bound to be an autostart folder. Search from "/".
- Karthika
Check if you have enabled the "hide" (or some such name) option in the window manager settings. Alt Tab would list the windows that are open and you can check if they are all intact.
- Karthika
If you have some knowlegde of system sw, why don't you consider developing an assembler?
Or a small simulator for some processor?
If you opt for Graphics, you can do some real-time simulation. Or a games software...
- Karthika
Can't the distance of the wall developed thus far be a deciding factor? You can also count the number of moves made for that...
Have you read Elain Rich & Kevin Knight's "Aritificial Intelligence" book? It has an elaborate explanation on alpha-beta cutoffs.
- Karthika
Don't use the DoModal function to create & display the window. Use a modeless approach instead.
Eg. if you dialog classes are CMyDlg1 & CMyDlg2, then do
CMyDlg1 dlg1;
CMyDlg2 dlg2;
dlg1.Create(IDD_DIALOG1);
dlg1.ShowWindow(SW_SHOWNORMAL);
dlg2.Create(IDD_DIALOG2)...
Open the String Table for the application (it is one of the resources). Change the fields of the string IDR_MAINFRAME.
I am giving a description of the 7 fields. Modify whatever you want, but be careful.
************************************************************
The document string is a...
Where exactly d you want to place the resizing code?
You can try the SetWindowPos function, which allows you to place a window at a new position & occupying the area you specify.
- Karthika
What sort of processing do you mean? What do you want to normalize? You can check out MS Vision SDK. It gives classes to represent images. The beta version is avl. at msn.com It has some sample projects.
Hope that helped.
Karthika
Shouldn't it be
float y;
int x;
int z; /* result */
y = 100.5;
x = y; /* x = 100 */
z = (int)(y * 10.0) % (x * 10); /* Ans: 5 */
(I have not tested it!)
- Karthika
Hi!
Data types are used to classify data that we manipulate in programs. Each variable we declare must be of a certain type. For eg., we have integers, characters, strings, real values (float) and so on. Based on the data type, the compiler allocates certain amount of memory to the variable...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.