|
i wants to set a diffrent color for a selected item so for which i am handel a click message but problem is that on next i have to clear all text color and only one selected item text color chaged so which message can handel to this.
Bankey Khandelwal
Software Engineer
Solversa TechnologiesPvt.Ltd.
15,Yeshwant Nagar
Range Hill Road
Ganeshkhind,Pune-03
bankey.khandelwal@solversa.com
Mobile: +91-9850432990
Office : +91-20-25521888
|
|
|
|
|
|
Hello!
Can somebody please direct me where can I find "file explorer" plugin info? I don't know even how to look. In google I get bunch of "internet explorer" plugin infos (dificulty is they both have explorer in their names).
I want to write simple plugin in C++ that will enable:
- right click in file explorer (three or file pane) and for example "My plugin" option in context menu.
- choosing of that option will enable me doing something on that folder, file, etc.
Can somebody please direct me to MSDN link or some free info on web.
Regards,
Rostfrei
-- modified at 5:04 Thursday 19th January, 2006
|
|
|
|
|
Try your Googlefoo on "Shell Extensions".
Steve
|
|
|
|
|
|
Thank you Stephen and Rage. That's exactly what I needed.
Rostfrei
|
|
|
|
|
I have got a listcontrol,and there are some icons in the listcontrol ,when I select one of the icon ,save it to a file(eg d:\a).
how to implement it ?
Thanks
|
|
|
|
|
Hi all
I am working on a huge project in VC++ . It has approximately 7000 files (*.h + *.cpp + *.uni + *.txt etc) . Is there any way by which I can calculate number of lines in the project folder ?
redindian
|
|
|
|
|
Try CCCC[^].
The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison
Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.
|
|
|
|
|
with or without the comment ?
do you also take in account the sigle lines which contains "} " alone (for example) or only the lines which effectively get compiled...?
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
Just search for line counter in google, get lot with code also
|
|
|
|
|
Try SourceMonitor[^]
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
I am developping an Add-in based on a CAD software called Autodesk Inventor. my program connects to the Access Database.following is code:
CDaoDatabase *pDb = new CDaoDatabase();
CString dbfilename = _T("DetailedDesign_97.mdb");
pDb->Open(dbfilename);
AfxMessageBox(_T("db opened"));
pDb->Close();
delete pDb;
every thing is ok when I am using the Add-in when the Inventor is running, but when I close the Inventor, an error message box comes out followed by an error to the Autodesk Inventor application.
the error message box is like this:
------------------------------
Debug Assertion Failure
Program: ...\Inventor.exe
file: appcore.cpp
line: 377
........
------------------------------
what surprises me most is that this error happens only when the add-in is copiled in the debug mode, and release is ok.
I have looked up the msdn and find nothing, anybody has any idea?
Thank you very much!!!
-------------------
I am learning C++ and English
|
|
|
|
|
I built a simplest program to test it, the same thing happens.
Thank you very much!!!
-------------------
I am learning C++ and English
|
|
|
|
|
To fix call AfxDaoTerm before your ExitInstance - Says this in appcore.cpp. It is an ASSERT - A check that is only performed in debug builds - This is by design.
Steve
|
|
|
|
|
Thank you very much!!!
-------------------
I am learning C++ and English
|
|
|
|
|
Hey,
I'm drawing a complex custom table with a lot of lines and style. All work fine up to the time i begin to scroll.
I do all my drawing in a memDC and bitblt it after drawing in my DeviceDC. I there any way to draw my table with less flickering?
Thank you for your great help...
|
|
|
|
|
Is it possible that it is an Erase-background problem?
try to use
Invalidate(FALSE) to overwrite the draws (if it is possible for you).
and try to stop the background clear overriding
....::OnEraseBkgnd(CDC *pDC){
return TRUE;
}
Bye
Have a nice code day
|
|
|
|
|
If the other suggestions do not help, your last resort is to draw just the minimum to give the impression of scrolling, and draw the lot properly when the user has finished scrolling your display. (Start a timer, reset it on every scroll, when it times out do a full redraw.)
Shraddhan
|
|
|
|
|
Does Visual Studio 2005 require activation over the Internet before it can be used, or does it just need the Registration code to be entered opon installation ?
|
|
|
|
|
PROCESS_INFORMATION ProcessInfo;
STARTUPINFO StartupInfo;
ZeroMemory(&StartupInfo, sizeof(StartupInfo));
ZeroMemory(&ProcessInfo, sizeof(ProcessInfo) );
StartupInfo.cb = sizeof(STARTUPINFO);
StartupInfo.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
StartupInfo.wShowWindow = SW_SHOWNORMAL ;
if(CreateProcess("notepad.exe", NULL,
NULL,NULL,FALSE,0,NULL,NULL,
&StartupInfo,&ProcessInfo))
{
WaitForInputIdle(ProcessInfo.hProcess, INFINITE);
// problem is here not hide...
ShowWindow(GetForegroundWindow(), SW_HIDE);
WaitForSingleObject(ProcessInfo.hProcess,INFINITE);
CloseHandle(ProcessInfo.hThread);
CloseHandle(ProcessInfo.hProcess);
}
|
|
|
|
|
|
You want to hide the application you're launching? Won't this change do it?
StartupInfo.wShowWindow = SW_HIDE;
Steve
|
|
|
|
|
Hi !!
i have a grid in my project. i want to display those grid values in word document. and that table in word document should not be editable.
Can any one please send me the source code for this....
It's very urgent.
Regards,
klvin.
|
|
|
|
|