|
|
Chris,
Given the tone of this thread I just thought I'd add my congratulations on an excellent piece of work.
I recommended the use of SAPrefs to a customer of mine for our current project and I've recently emailed him some screen-shots of how it looks. Part of his reply is as follows:
"I absolutely love the preferences dialog. This new setup is really slick and very intuitive. In addition, it makes it much easier to add additional information or
preferences when the need arises."
Thought you might like this one
Keep up the good work and ignore the jerks
Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
*rotfl* muahahahahahahahahahahahahahaha
Bryce
|
|
|
|
|
Nicely Said, Chris
I guess the version of Outlook he has must be different than the copy you or I use, specially made for him by Bill Gates Himself.
i think he's talking out of the split between his butt cheeks
good work, utility works for me.
|
|
|
|
|
Nicely Said, Chris
Didn't you realize he has a custom version of Outlook, that Bill Gates wrote especially for him.
don't you just hate it when people learn to speak from the crack between their butt cheeks before the mouth ???
good work
|
|
|
|
|
Nicely Said, Chris
Didn't you realize he has a custom version of Outlook, that Bill Gates wrote especially for him.
don't you just hate it when people learn to speak from the crack between their butt cheeks before their mouth ???
nice work
|
|
|
|
|
Bill, you shouldn't post this kind of comments, if the class don't do what you want, do it yourself .
The code Project site is the best site on net regarding sharing of knowlegde between VC++ programmers, and the the people that share with us their code deserve our respect. Normally if a class don't do a certain feature that you like, why not asking politely to author if he can help , if not, post on the forums, normally you will get some kind of response.
Imagine that this article was not a well perfoming(4.41 average for 63 users)
article from Chris,but it's yours, you certanly don't liked if a post says that that your code is absolutely f***ing stupid, wouln't you ?
Grow up Bill , okay ?
Ah and sorry for my poor english ...
Joao Vaz
Joao Vaz
|
|
|
|
|
I consider that this site is for constructing between us and does not for destroy to us or to criticize to Us.
I consider that a constructive critic is good and are welcome. I don't agree with your type of critic.
If you believe that your code is better please,write some code for us. Chris Losinger wrote 12 excelent articles , but you? I couln't find any article written by you...
It's Only My Opinion...;)
Best Regards and Good Weekend...
P.S. When you have your own company let me know...
I vote for Smaller Animals...
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
This is an anonymous post. So we cannot be sure that this is the real Bill Sergio. In all probability it is an imposter. A really dumb imposter too.
Nish
It's seven o'clock
On the dot
I'm in my drop top
Cruisin' the streets - Oh yeah
I got a real pretty, pretty little thing that's waiting for me
|
|
|
|
|
Common people.. If you can't take critisism, get out of the field. If you code is bad, someone with more experience should definetly say so in order not to confuse others.
The guy had some valid arguments....
exo
|
|
|
|
|
exo wrote:
The guy had some valid arguments....
like what? no, really - what did he say that isn't equivalent to "your code doesn't meet my special needs" ?
-c
Smaller Animals Software, Inc.
You're the icing - on the cake - on the table - at my wake. Modest Mouse
|
|
|
|
|
The arguments were definitely not valid enough to warrant the statement that this is terrible code. But yet again, anybody has the right to make this statement, but others such as myself also have the right to respond in defense of this submission. I just don't want other readers of this submission to think that this submission does not have any value when it clearly does.
|
|
|
|
|
Damn, at least when I argue with Chris we are civil with each other.
Mostly
This is totally out of line.
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|
|
who the hell are you calling "civil" ???
i demand an apology.
-c
Smaller Animals Software, Inc.
You're the icing - on the cake - on the table - at my wake. Modest Mouse
|
|
|
|
|
Ok,
I am sorry you were wrong.
(Just kidding)
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|
|
Guys
It was an anonymous post.
I doubt whether it was the real Bill Sergio.
Nish
It's seven o'clock
On the dot
I'm in my drop top
Cruisin' the streets - Oh yeah
I got a real pretty, pretty little thing that's waiting for me
|
|
|
|
|
I know. At this point, I am just joking around with Chris.
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|
|
Nish [BusterBoy] wrote:
On the dot
I'm in my drop top
Cruisin' the streets - Oh yeah
I got a real pretty, pretty little thing that's waiting for me
So who is responisbile for this poetic masterpiece ?
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
|
|
|
|
|
I personally have used this class within a production application with some changes, but this in my opinion was a good idea/design and the code has very few problems.
I think the Author did an excellent job!
|
|
|
|
|
Bill Leibold wrote:
I personally have used this class within a production application with some changes
IMHO the "some changes" statement is the key here. Almost all the samples found here on CP have to be changed somehow to work in any specific application. Some of the changes will be minor, some will be major, but the idea behind CP (and other sites like it) is to provide sample "how to" code, not to be a repository of ready to use controls and classes that can be dropped into your apps. If you want drop in code, go to a vendor and buy it.
---
CPUA 0x5041
Sonork 100.11743 Chicken Little
It may be that your sole purpose in life is simply to serve as a warning to others.
|
|
|
|
|
Agree 100%!
PJ Arends wrote:
If you want drop in code, go to a vendor and buy it.
Based on experience, I would never buy any production code unless it is part of a frameworks delivered with the development environment I am using such as MSDEV.
Best Regards,
|
|
|
|
|
can anyone help me to dynamically add a tree node on execute time and loading the related dialog page at the same time?
|
|
|
|
|
you'll have to add a function that clears the tree and m_dlgMap, then executes a loop like the one in OnInitDialog (fill the tree and build the map).
-c
Smaller Animals Software, Inc.
You're the icing - on the cake - on the table - at my wake. Modest Mouse
|
|
|
|
|
Use CTreeCtrl::InsertItem
Regards....
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
I tried this... And seems to work
Just modify the AddPage member function :
#if ( !ALLOW_ADDPAGE_AT_RUNTIME )
if (m_hWnd)
{
// can't add once the window has been created
ASSERT(0);
return false;
}
#endif
dlg.m_pMainDlg = this;
pageStruct *pPS = new pageStruct;
pPS->pDlg = &dlg;
pPS->id = dlg.GetID();
pPS->csCaption = pCaption;
pPS->pDlgParent = pDlgParent;
m_pages.Add(pPS);
#if ( ALLOW_ADDPAGE_AT_RUNTIME )
if (m_hWnd)
{
TV_INSERTSTRUCT tvi;
// find this node's parent...
tvi.hParent = FindHTREEItemForDlg(pPS->pDlgParent);
tvi.hInsertAfter = TVI_LAST;
tvi.item.cchTextMax = 0;
tvi.item.pszText = LPSTR_TEXTCALLBACK;
tvi.item.lParam = (long)pPS;
tvi.item.mask = TVIF_PARAM | TVIF_TEXT;
HTREEITEM hTree = m_pageTree.InsertItem(&tvi);
// keep track of the dlg's we've added (for parent selection)
if (hTree)
{
DWORD dwTree = (DWORD)hTree;
m_dlgMap.SetAt(pPS->pDlg, dwTree);
}
m_pageTree.Invalidate();
}
#endif
return true;
|
|
|
|