|
try searching this site and it'll give enough info to get you started.
Er zit een korstje op mijn aars.
|
|
|
|
|
Hi,
I am trying compile a source code, now i am getting this error:
error C2065: 'DDX_Time' : undeclared identifier
I am using VC++6.0. Could any one tell me why is it so?
Regards
Neha
|
|
|
|
|
|
Where can i get specification for GDI+ images encoders/decoders?
|
|
|
|
|
look for the CxImage-Library - found on sourceforge.net - i think its here on codeproject too! realy nice code, load/save all graphic-formats you need. i hope thats what you asked for ;o)
|
|
|
|
|
Hi Friends,
Can any one please tell me how to create Dialog without resource dynamically.
Thanks,
Live and Let live
|
|
|
|
|
take a look at CreateDialogIndirect in MSDN.
|
|
|
|
|
Thankyou for the answer.
Is there any way in which I can create Modal Dialog Box Dynamically without using resource.
Thanks,
Salman
Live and Let live
|
|
|
|
|
You can override the OnCreate member function, and create controls dynamically there. And handle the command BN_CLICKED of the Ok button and put there your own DDX ....etc. etc.
I think this seems complicated and useless. What do you want dynamic dialog box for? Could you not create the dialog box in resource editor and only make the specific controls visible/invisible at runtime?
Robert-Antonio
|
|
|
|
|
Thanks for your reply,
But I have to create OCX of my Dialog so, I want to create DialogBOx without Resource. Any how I got answer and will post this artical on codeproject as soon as possible. But the real problem is even I am able to create DialogBox Dynamically. I am not able to attach the controls to it dynamically. Once I get this answer I will post it as soon as possible.
Thanks,
Salman
Live and Let live
|
|
|
|
|
I have a web control inside a modeless dialog in view/doc application. The dialog is implemented as a child of the mainframe. The problem is, when something changes in the web control (navigate2() is called), the dialog steals the focus from the mainframe and view.
Is there any way to prevent this, or restore focus back to the previous window who had it?
Have no fear of perfection - You will never reach it
|
|
|
|
|
how do i get the path from where the application was executed ??
i am using MFC.
Thanx.
My God is more powerfull Than Your God. (the line that divides the world)
|
|
|
|
|
Use the GetModuleFileName() API.
CString strDirectoryPath;
TCHAR zName[MAX_PATH];
TCHAR* zLast;
::GetModuleFileName(0,zName,sizeof(zName));
zLast=_tcsrchr( zName, (TCHAR)'\\');
if (zLast)
*(zLast+1) = (TCHAR)'\0';
strDirectoryPath = zName;
ASSERT( !strDirectoryPath.IsEmpty() );
return strDirectoryPath;
I Dream of Absolute Zero
|
|
|
|
|
Thanx i guess this piece of code is little better.
CString strAppPath;
::GetModuleFileName(NULL,strAppPath.GetBuffer(MAX_PATH),MAX_PATH);
strAppPath.ReleaseBuffer();
strAppPath = strAppPath.Left(strAppPath.ReverseFind('\\'));
AfxMessageBox(strAppPath);
My God is more powerfull Than Your God. (the line that divides the world)
|
|
|
|
|
you can also check the GetCurrentDirectory() in the Platform SDK out:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/getcurrentdirectory.asp
bye,eugi
www.eugigames.tk
|
|
|
|
|
Current directory is not what i want, i wanted the location of the exe file.
suppose the exe file is in c:\windows
and if you execute the program from c:\temp then c:\temp is ur current directory and c:\windows is the source directory
My God is more powerfull Than Your God. (the line that divides the world)
|
|
|
|
|
How to create zoom function for pictures in visual c++?
|
|
|
|
|
stretchblt can be used to resize pictures!
Don't try it, just do it!
|
|
|
|
|
hi...i am developing a voice recognition system that used Ms Speech SDK 5.1. i have applied both command and dictation features in my system. i have a problem on switching from dictation mode to command mode. anybody have any ideas?
|
|
|
|
|
lol, that is a very funny descriptions, but if u dont give details nobody will know what to answer to your question
Don't try it, just do it!
|
|
|
|
|
Sorry about that simple explanation..actually, i am developing a voice command application using MS Speech SDK in VC++ language. The application is almost done but the problem is, i don't know how to switch from dictation mode to command mode..i have successfully switched from command to dictation mode but still unsuccess in switching the both modes once again...hope that someone will help me to solve this..
|
|
|
|
|
Hi,
i would try to take the way of the voice recognise applications
so, can i see your proj. code?
Please, help me...may be i'll help you...
10x's so much for your attention.
JD
|
|
|
|
|
Hi,
people does any one of you have any idea about DYNAMIC_DOWNCAST...plz help
|
|
|
|
|
satadru wrote:
does any one of you have any idea about DYNAMIC_DOWNCAST?
Yes:
Outdated. Homegrown. Microsoft proprietary. Replaced by Standard-C++ dynamic_cast .
Who is 'General Failure'? And why is he reading my harddisk?!?
|
|
|
|
|
Could u tell anything about making matrix or non-matrix characters
vectorizable???
Thank u, any way!!!
Hello World!
|
|
|
|