|
Vivekuniq wrote:
if not change...
... just edit the different sizes of the icon...!
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
The simplest way is to replace the .ico file in the res folder and then rebuild the project.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
using the class wizard i added the following function for a class derived from CListCtrl.
When i rename the lable i want that to be displayed there after.
If i could get the text, row and column i can use SetItemText function. What are these parameters(NMHDR *pNMHDR, LRESULT *pResult) and what does they contain.
void CWifiMdsView::OnLvnEndlabeledit(NMHDR *pNMHDR, LRESULT *pResult)
{
NMLVDISPINFO *pDispInfo = reinterpret_cast<NMLVDISPINFO*>(pNMHDR);
*pResult = 0;
}
Thanks a lot.
|
|
|
|
|
|
Hi,
I'm writing a batchmanager which launches some jobs (processes as children). Is there a good book about processes? What's the best way to know when children have done executing? Is there any good book available for this?
Greetings,
Jens
|
|
|
|
|
Well i don't know if you want to know this. I don't have much idea about doing this using pure c++. but if you are using VC++ or MFC you can use GetExitCodeThread(hThread, &dwWaitReturn); function to get the exit code of the thread. there r various exit codes.
eg.
STILL_ACTIVE: you can use not-STILL_ACTIVE to know that the thread has done (Actually i don't remeber the other exit codes--Check out in MSDN).
Cheers.
|
|
|
|
|
Why are you asking a Linux question on what is the preeminent Windows programming site?
Software Zen: delete this;
|
|
|
|
|
Hi,
I have a list control with five column and many rows.
On Left button double click i can detect the row number using CListCtrl::HitTest() function.
I also want to find the column index.
How should I do this?
|
|
|
|
|
There is a CListCtrl::SubItemHitTest() function that you can also call. Does the same thing as HitTest, but for subitems.
I Dream of Absolute Zero
|
|
|
|
|
Hi,
We have NDOC Documentation Generator for .NET Applications in C# (or with an addin for VB.NET) right. In the same way, can you suggest a documentation tool for VC++ application, preferably an opensource or a freeware stuff.
Thanks and Regards,
Vasudevan Deepak Kumar
Personal Web: http://www.lavanyadeepak.tk/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
doxygen[^] is a great tool.
There's also a codeproject article[^] related.
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
If you r using VISUAL STUDIO .NET have you tried "Bild Comment Web Pages"
In VC++ under tools menu you will find it.
|
|
|
|
|
karmendra_js wrote:
If you r using VISUAL STUDIO .NET have you tried "Bild Comment Web Pages"
Nop, I haven't but I'll do it. Do you feel it's better than dOxygen + graphViz visualization component?
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
|
thank u i will also
try to use the documentation
tool "doxygen"
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
|
hello everybody,
i read some days ago here on VC++ forum that one could use the DependencyWalker tool to check the libraries an executable needs to run well.
i'd like to give an MFC program i made to a friend that don't have any of the basic libs (msvcrt.dll, mfcxx.dll, ...) but i don't have a formal way to find the info and i cannot find such a tool !?
any tip ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|
It's installed with Visual Studio within the related tools. It should appear when you right click the mouse over an exe (View Dependencies) and also in the Visual Studio Tools menu group of the programs bar.
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
maybe it should, but it isn't... neither under my Visual Studio 6 nor Visual Studio .NET 2003 (both fully installed)...
but anyway, thx for the info... (i download it again from the link provided in one's previous post...)
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
i read some days ago here on VC++ forum that one could use the DependencyWalker tool to check the libraries an executable needs to run well.
True, but only for those libraries that were implicitly linked with.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
DavidCrow wrote:
True, but only for those libraries that were implicitly linked with.
yes, of course, thx for the info David.
Actually, i don't link implicitely any library, but even if i was, i may know which one. my problem is almost for libraries needed to start, such as MFC, C-runtime, etc...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hello comumity,
how to get an handle to an CListCtrl Control from another Class? I want to use ::SendMessage(...) Funcion and i need the HWND handle to send the message to this contrlol, and the same control is member from the dialog class, i mean, the control is on the dialog box?!
regards
break;
|
|
|
|
|
Write a public function in Dialog class to return the handle of the ListCtrl control.
m_hWnd member of your CListCtrl variable of dialogbox contains the handle to the control.
Hope this helps u
Regards
Adi
|
|
|
|
|
It is a bad design to assume that the dialog box owns the list control. Instead, send the message to the dialog and let it route it on to the control as it sees fit. This way the control can be changed without the calling routine needing to know the details.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|