|
........................
ThomasKennedyBose
|
|
|
|
|
Like I said, it's a starting point. It is probably the best free grid code available. If you want more done for you, then you'll probably need to pay money.
It shouldn't be hard to add the cell commenting code to the grid source.
Michael
'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879
|
|
|
|
|
well.. i wanted to put Chris Maunders Grid Ctrl with some Additions (some CellFormats) in a static lib.. everything works & compiles fine in debug mode..
but in release mode it always says:
<br />
Class.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const CGridBtnCell::classCGridBtnCell" (?classCGridBtnCell@CGridBtnCell@@2UCRuntimeClass@@B)<br />
is there any possibility to turn the mfc runtime thingies on/off?
thanks in advance,
bernhard
"I'm from the South Bronx, and I don't care what you say: those cows look dangerous." U.S. Secretary of State Colin Powell at George Bush's ranch in Texas
|
|
|
|
|
Make sure you compile both lib and application with "RTTI enabled" (Project Settings, C++, C++ Language)
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|
|
well.. i've checked this, rebuilded everything.. and it still doesn't work..
the msdn says that this runtime - shista has got nothing to do with the c++ rtti, they made their own runtime - information (from cobject).. is there any way to disable / enable the mfc runtime - information?
thanks in advance...
(first of all i thought that your sig is "krieger" from fanta4.. yaya.. sts is a little bit different )
"I'm from the South Bronx, and I don't care what you say: those cows look dangerous." U.S. Secretary of State Colin Powell at George Bush's ranch in Texas
|
|
|
|
|
:slaps forehead: Yep, sure, CRuntimeClass is the MFC version...
ugh, not much of ideas then
I guess the grid is relying on that.... check the MFC settings for the release build (static/dynamic). MSDN says:
Static linking to MFC is supported only in Visual C++ Professional and Enterprise Editions. For more information, seeVisual C++ Editions.
There seem to be quite some differences how MFC handles their own RTTI, depending on linking statically/dynamically to MSDN (and make sure the VCRT settings match those for MFC)
Bernhard wrote:
sts is a little bit different
A little bit, yes
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|
|
good luck in linking to the msdn.
[okay.. just a little joke.. hope this doesn't make you mad.. don't wanna be undankbar]
"I'm from the South Bronx, and I don't care what you say: those cows look dangerous." U.S. Secretary of State Colin Powell at George Bush's ranch in Texas
|
|
|
|
|
Now I have another question, could you help me?
The problem is:
How can I program to carry out a Sequential-Verify test on floppy disk in VC?
Thank you all very much!
LeonOrient
|
|
|
|
|
have anyone ever used his asssociated librairies like dbgeng.h ?
I am actually having pb with some function so if anyone knows about it plz tell me.
I am developping a plug-in using the debugger.
Thx
|
|
|
|
|
I know little about writing multithreaded program. But I'm gonna write an image viewer like ACDSee using MFC. ACDSee uses multi-thread when it loads image files in the broser mode. What kind of thread do you think I'd better use in the browser mode? Worker thread? or UI thread? Give me an advice about it and if you know it, tell me why. Thank you.
|
|
|
|
|
How can I get Character Width in GDI+?
In GDI, I used GetTextExtentExPoint(), I've got correct Displaysize - Width, Height;
But in GDI+, I never found the function or other things like GetTextExtentExPoint();
My first aim is to get display text width and show caret at end of the that.
In GDI, I had no problem in displaying caret at right place.
Could anyone give me an answer about this?
thanks in advance;(-:
|
|
|
|
|
Hi all
How can I get the url of the link when I click on the CHtmlView?
|
|
|
|
|
|
What I mean is, I need to know the new url when a new window is opened (click on "Open in New Window" context-menu item)
|
|
|
|
|
I've given this much thought and have decided that I will replace PHP/Perl/ASP with C++ on websites I design in the future...not just because of speed, but because there are times when so much blood, sweat and tears go into code...you don't much feel like sharing with anyone...so compiled exe's seem to me the way to go under some circumstances.
Anyways...I'd like to find a library and some wicked tutorials on how to get started.
I have a background in C++ and web development already so I don't need beginners tutorials...I know what CGI is and care little about server setup...I really just wanna see some cool examples of C++ CGI's using existing libs...I can't seem to find anything...
Thanks
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
We have a C++ based web development application server that sounds exactly like what you are looking for. If you are interested, shoot me an email.
|
|
|
|
|
I would like to be able to put a splitter control within a view and put other views on each side of the splitter control. Basically I am trying to get nested splitter windows without having to have all of the splitter windows attached to the main frame window. Is there any way to do this?
Cheers,
Clint Singer
|
|
|
|
|
Easiest: create your own view class that has a CSplitterWnd as child window. Saves hassle.
[edit] for nesting the splitters, it's enough to dereive a class from CSplitterWnd that is DynCreatable. or you use the MultiSplitWnd sample from http://www.cherea.de/bitbucket[^]
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|
|
http://www.codeproject.com/dialog/visualfx.asp
from Zoran M. Todorovic
covers just about all the scenarios you might want
|
|
|
|
|
Dear All,
I have created an SDI application. On the menu when the user clicks "add", a dialog is called. On this dialog the user can add words to a list. When the user hits the insert button (which is located on the dialog), I want the list control on the SDI Form to be updated with the newly added text.
I guess my question is how i can access the control on the SDI form from a dialog that has been called
|
|
|
|
|
One solution is messages. Send a message from dialog box to main thread.
Kuphryn
|
|
|
|
|
Hello, I'm having a great deal of difficulty creating an MFC DLL with the Matlab Add in. I've seen the example where a EXE is created via the matlab add-in. Has anyone attempted creating such a project. Also how does one call and pass variables to a DLL from C. I've tried the pargma code method but to no avail. Any help would be greatly appreiciated.
Cheers
|
|
|
|
|
I designed a program and used ms datagrid control. I want to distribute software but I found it didn't work, is there anyone know how to register it??
Thanks.
|
|
|
|
|
Try creating a Visual Studio Installer[^] setup package for your app.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
Copy c:\windows\system32\msdatgrd.ocx from you computer in the same directory of the other computer. Use %system% for windows 9xMe and %system32% for 2000 and XP. Then in ms-dos prompt type:
regsvr32 c:\windows\system32\msdatgrd.ocx
That should do it.
// Afterall I realized that even my comment lines have bugs
|
|
|
|