|
00000001.
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
0x00000005!
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
sorry to know that you hate MFC, but I wanna know whether MFC can plot a 3D graph from 3 arrays or not. If not, would you please suggest some API or source code to achieve the requirements??
actually i wanna to plot many points in a 3d graph where the coordinates of 3 diferrent axes are stored at 3 different txt files.
Thank you for your code for solving my previous question!
cheers,
john
|
|
|
|
|
No programming question in Lounge.
*Dang!* Oops hehe ok ok. We are in the forum.
johndoelee wrote: MFC can plot a 3D graph from 3 arrays or not
You mean you want to visually mark voxels in a 3D space?
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
No need to be so specific like voxels
I need a simple 3D line graph. The input will be the x y z coordinates from 3 different arrays.
Thank you!
Cheers,
John
|
|
|
|
|
No 3D, but Cedric Moonen's charting control[^] worked for me.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
How about This?[^]
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
Thank you for your recommendation. I think it meets my requirements, but I cant implement it due to set-up problems. anyway, thank you very much!
Cheers,
John
|
|
|
|
|
Also, I need to mention you that my present project[^] is in plain C++. Loads of fun. No, really.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
You've taken up the red pill. Welcome to the dark world. I've spent enough time wrestling with plain C++. Some STL atleast? Nope. To be true our prototypes are almost built with plain C. They are kind enough to wrap them up in a class atleast. As you have mentioned in your thread, it's a s1,s2,s3,s4.. t1,t2,t3,var1*, var2**,var*** array1[], array2[]. all the way!.They look at "vectors" as a database! They feel it's complex operation to put something into a vector. Instead they simply use pointers. I felt dizzy at first but later managed to get along with them.
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
VuNic wrote: I hate MFCs
I love it. I'll want you guys to sit in a row and write an ActiveX control from scratch in plain C++. I'll give you paper towels to wipe that sweat and blood while you do the dodgy thing.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Rajesh R Subramanian wrote: I love it.
The problem is yours.
(just kidding).
Rajesh R Subramanian wrote: I'll want you guys to sit in a row and write an ActiveX control from scratch in plain C++. I'll give you paper towels to wipe that sweat and blood while you do the dodgy thing
ATL , IMHO is much better for the above task. We can even write the ActiveX as you proposed: we've Jeff Glatt's wonderful article series on our side [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
|
Rajesh R Subramanian wrote: What are you doing answering C++ queries on a sunday, you addict.
Five for this.
Rajesh R Subramanian wrote: Now, I'll wait for this book:
Writing ActiveX components with nothing but the 8086 assembler - by CPallini.
Five.
Rajesh R Subramanian wrote: BTW, Jeff Glatt's series rocks.
Five.
Unfortunately I can vote your post only once.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
CPallini wrote: Unfortunately I can vote your post only once.
So you can consider mine.
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
OK. I'm considering...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Now, I must add a separate reply for every sentence I write to you. That way, I'll gain lotsa fives.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Well I have only a 5 to spend on your posts. Do you prefer a single five or five 1 s?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
1 x 5 != 5 x 1 @ CP.
So, I'll take a single five, I think.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
When you change the font of a combo box, how do you get the combo box to resize itself correctly, or what is the right way to do this manually? When I send a WM_SETFONT with a new font handle nothing happens.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
Save an Orange - Use the VCF!
VCF Blog
|
|
|
|
|
You'll have to do the resizing yourself. The GetTextExtent family of APIs can help.
Jim Crafton wrote: When I send a WM_SETFONT with a new font handle nothing happens
You may need to invalidate the control window so it redraws with the new font.
Also, make sure your font handle does not go out of scope or get destroyed for the
lifetime of the control.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thanks. I found that the culprit was having the CBS_OWNERDRAWXXX bit set. That basically has the control do nothing when the control's font is changed. So I experimented a bit and found that if I call CB_SETITEMHEIGHT once for the selection field (wParam = -1) with my calculated height, and then again for all the items in the control, and THEN called SetWindowPos with the new height of the window (also taking into account the new height for the items) that everything worked out hunky dory. In hind sight I guess this was obvious, but it took me awhile to clue in to it.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
Save an Orange - Use the VCF!
VCF Blog
|
|
|
|
|
Cool Thanks for the update!!
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Yet another example of Microsoft providing all of the pulleys to do the things you want, but forgetting to install the belts that connect the pulleys together.
|
|
|
|
|
Hi. Any body could please advise on how to implement a simple c++ instruction to prevent another instance of the same program that is already running from being executed.
Many thanks
|
|
|
|