|
Depends on the version. It was a MDI until version... (I don't remember ). Now it si SDI .
MFC App wizard provide templates for both types of application.
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: Now it si SDI
Not only now, Word 2003 is already SDI. New document doesn't open a new document inside the frame, it opens another instance of the application. I don't honestly remember if Word 2000 was already SDI or still MDI.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Too long to be explained in an answer. I think you should try searching a bit of info, read the help of VC++ about MDI-SDI and if you don't understand something more concrete, then ask... But such a question... is going to have no "right" answer for you.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Is MS Word is MDI/ SDI
Click Here [^]
How to implement in VC6.
Example[^]
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
Hai, I am confused about Hessian.
Hessian is 2nd order differential of Gaussian. And has matrix 2x2.
Now, what number is in Hessian Matrix.
example:
Gaussian equation = F(x,y)= (1/(2*pi*T^2))exp-((x^2+y^2)/2T^2)
Then,
H = [Fxx(x,y) Fxy(x,y) ;
Fyx(x,y) Fyy(x,y)]
So, what is significant number of matrix content? Then this matrix will be convoluted with image.
Please, If u know, answer that question, Thanks Before.
please, send me through:
poetra_ardiansyah@yahoo.co.id
tra
|
|
|
|
|
Hai, I am confused about Hessian.
Hessian is 2nd order differential of Gaussian. And has matrix 2x2.
Now, what number is in Hessian Matrix.
example:
Gaussian equation = F(x,y)= (1/(2*pi*T^2))exp-((x^2+y^2)/2T^2)
Then,
H = [Fxx(x,y) Fxy(x,y) ;
Fyx(x,y) Fyy(x,y)]
So, what is significant number of matrix content? Then this matrix will be convoluted with image.
Please, If u know, answer that question, Thanks Before.
tra
|
|
|
|
|
traelektro wrote: Hessian is 2nd order differential of Gaussian
Nope. More generally, the Hessian matrix is the square matrix of second-order partial derivatives of a function [^].
traelektro wrote: Now, what number is in Hessian Matrix.
example:
Gaussian equation = F(x,y)= (1/(2*pi*T^2))exp-((x^2+y^2)/2T^2)
Then,
H = [Fxx(x,y) Fxy(x,y) ;
Fyx(x,y) Fyy(x,y)]
So, what is significant number of matrix content?
What has it to do with C++ ? What exactly are you asking for?
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
|
|
|
|
|
@Codeproject
Sorry,I have a mistake.
Yes, I mean, Hessian Matrix is the square matrix of second-order partial derivatives of a function. The Function I used is Gaussian Function. Please, what is exact contents in Hessian Matrix?
Gaussian Function = F(x,y) = (1/(2*pi*T^2))exp-((x^2+y^2)/2T^2) where T is scale.
mask (Hessian) 2x2
H=[a b
c d]
H = Hessian Matrix.
a=...?
b=...?
c=...?
d=...?
please, i am waiting your reply. thank You
tra
|
|
|
|
|
If I remember well old good math (i.e. please check)
Fx = -(1/(2*pi*T^2))x/T^2 exp(-(x^2+y^2)/2T^2)
Fy = -(1/(2*pi*T^2))y/T^2 exp(-(x^2+y^2)/2T^2)
hence
a = Fxx = (1/(2*pi*T^2))(x^2/T^4 - 1/T^2)exp(-(x^2+y^2)/2T^2)
b = Fxy = (1/(2*pi*T^2))(xy/T^4) exp(-(x^2+y^2)/2T^2)
c = Fyx = Fxy
d = Fyy = (1/(2*pi*T^2))(y^2/T^4 - 1/T^2)exp(-(x^2+y^2)/2T^2)
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
|
|
|
|
|
Guten Tag, Mr. Kindman - CPallini.
I am glad to receive ur reply.
Now that 2x2 matrix will be convoluted with original image.
Do U know what are x, y and T ? What value is these (x, y and T)? So that I can know values of this matrix.
I will apply this matrix on Visual C++.
And please visit mywebsite:
http://ardiansyahputra.wordpress.com
Regard,
tra
modified on Wednesday, June 4, 2008 5:09 AM
|
|
|
|
|
Good luck with your matrix and convoluted images.
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
|
|
|
|
|
arigatoo gozaimasu
tra
|
|
|
|
|
traelektro wrote: arigatoo
Actually is arigatou.
Good luck again.
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
|
|
|
|
|
please look at my new post - new message:
" how to calculate mean of histogram?"
tra
|
|
|
|
|
I dont know what you mean by significant number of matrix but you know the function you know the form of matrix then what exactly is the problem?
H = [A B ; C D]
A = Fxx(x, y) (second derivative of F w.r.t x)
B = Fxy(x, y) (derivative of F w.r.t x and then w.r.t y)
C = Fyx(x, y) (derivative of F w.r.t y and then w.r.t x)
D = Fyy(x, y) (second derivative of F w.r.t y)
Now you know the analytical form of F so can't you find the derivatives yourself?
Saurabh
|
|
|
|
|
thank u for ur reply I will read more and more. thx
tra
|
|
|
|
|
My application has a CFrameWnd which contains a CTreeCtrl. So that the user can easily delete an element from the tree I have set up an accelerator so that the Delete key issues an ID_EDIT_DELETE command. So far so good.
The problem comes when I want to do an inline edit of an element in the tree. The delete key is still issuing the ID_EDIT_DELETE command - I can stop it deleting the element by putting a guard set between the TVN_BEGINLABELEDIT and TVN_ENDLABELEDIT events. But this is not a behaviour that I want. I want the delete key to act as normal during the label editing.
Is there any way to temporarily suppress the accelerator keys during label editing?
Graham
Librarians rule, Ook!
|
|
|
|
|
Solved it thanks to a colleague.
I need to override the PreTranslateMessage message in my tree control class (it was already subclassed so that it wasn't a problem) as follows:
BOOL MyTreeCtrl::PreTranslateMessage(MSG* pMsg)
{
if( pMsg->message == WM_KEYDOWN )
{
if( GetEditControl() &&
(pMsg->wParam == VK_RETURN
|| pMsg->wParam == VK_DELETE
|| pMsg->wParam == VK_ESCAPE
|| GetKeyState(VK_CONTROL)))
{
::TranslateMessage(pMsg);
::DispatchMessage(pMsg);
return TRUE;
}
}
return CTreeCtrl::PreTranslateMessage(pMsg);
}
Graham
Librarians rule, Ook!
|
|
|
|
|
Hello all,
I created some interfaces and deployed them in an MFC extension DLL.
I have an example of an exported TreeCtrl which has a memeber that triggers the creation of a modal dialogBar.
first of I created that tree control inside a window of a client program which is linked to that DLL.
First I have seen problems with the drag and drop. infact my tree control has buit in drag and drop feature. That features happens to function only once !
I didn't comprehnd this problem until I tested the modal dialog ofwhich creation is triggered by a member of that imported Tree.(the code of the dialog also resides in the DLL) : it happens that I can't do anything with tyhe Dialog: nothing is responsing : unless I click 3 or 2 times on the taskbar icon of the application.
did anybody encountered and understood this phenomenon ?
Our Philosophy, Mohammed Baqir Al Sadr
|
|
|
|
|
ok, i tried to make this code awhile ago, and it doesnt work at all, and i was wondering if someone could help me figure it out?? But please, not to sound rude, but for the sake of learning something, try to explain it in the simplest terms you can what was wrong, so I can avoid doing that mistake again
#include <iostream>
#include <iomanip>
using namespace std;
void main()
{
int i,
j,
number;
cout<<setw(40)<<"Multiplication Chart"<<endl<<endl;
cout>>"This is a multiplication Chart"<<endl<<endl
cout<<"please enter a number between 1 and 17 for the table to reach up to. Numbers larger then 17 will NOT work"<<endl;
cin>>number;
for (i=0; i<number; i++)
(
cout<<i<<"I";
for (j=0; j<number; j<+)
cout<<setw(3) i*j;
}
cout<<endl;
}
system ("PAUSE");
}
:I
|
|
|
|
|
Pathetic wrote: it doesnt work at all,
Aside from the syntax errors, what does it do compared to what it's supposed to do?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
uh... can you please rephrase that question, i dont get it...
"The beauty of Grace is that it makes life not fair" Relient K, Be my Escape
|
|
|
|
|
Doesn't look like it should compile either.
|
|
|
|
|
There were a few syntax errors in your program. Besides that, if you were looking to start with a simple multiplication program, I just wrote one for you:
#include <iostream>
void main()
{
int number, limit = 10;
cout<<"Multiplication Chart"<<endl<<endl;
cout<<"please enter a number to view multiplication chart ";
cin>>number;
cout<<endl;
for(int i=1; i<= limit; ++i)
{
cout<<number<<" x "<<i<< " = "<<number*i<<endl;
}
cout<<endl;
}
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
thanks i guess
"The beauty of Grace is that it makes life not fair" Relient K, Be my Escape
|
|
|
|