|
Hi
We are devolopping one project in that we give three static controls by clicking that corresponding menu item will open.Here it is required to add the colors to that menu items.Please Kindely help me in my project.
#sanroop#
|
|
|
|
|
Do you want to have a customize menu?
|
|
|
|
|
No Here when i add custom menu then menu display half part only
Functionaliy also didnt work
#sanroop#
|
|
|
|
|
When you want to run your program it doesnt work did you get any errors?
|
|
|
|
|
Hi there
I would like to add a Demonstration feature to my Visual C++ application. For example the user would click the "Demo" menu item, this would start executing a script and move the mouse, click buttons, display tooltips, that kind of thing.
I'm sure I've seen it done in some applications before but can't remember where. Has anyone ever seen this sort of thing before, or any ideas where I could find such a thing?
It would be so useful for me and I'm sure many others.
Thanks
[d3m0n]
|
|
|
|
|
Usually it's a movie. A product like powerpoint should allow you to prepare a demo
that you could run from your product.
My $0.02.
|
|
|
|
|
Thanks, I've looked into using Powerpoint, but having bitmaps and animation is not as memorable as seeing something actually happen inside your program.
If I could only remember where I've seen this before....
Cheers
[d3m0n]
|
|
|
|
|
Hello community,
have one question about L"" for unicode strings:
do i have to use this L"" for strings always, even if is only one caracter length,
also, if i have an single character to compare, something like this:
('H' == *lpsz)
(L'H' == *lpsz)
("H" == *lpsz)
(L"H" == *lpsz)
to often my application breaks in this line:
while( (*wcStrToAnalyse != '\0') && (*wcStrToAnalyse != ' ') )
and my project is in unicode.
thanks in advance
break;
-- modified at 6:55 Tuesday 5th December, 2006
|
|
|
|
|
if you're using LPSTR (CHAR*) strings, then don't use any.
if you're using LPTSTR (TCHAR*) strings, then use _T().
if you're using LPWSTR (WCHAR*) strings, then use L.
|
|
|
|
|
Hello,
thanx for help,
is this for single characters to, like this : 'H' or _T('H'), 'H' or L'H', "H" or L"H"?
Sorry about this question, but i need help!
regards
break;
|
|
|
|
|
yes, this is also extended to single characters
|
|
|
|
|
Be carefull with '' and "" ... can drive you into some problems.
|
|
|
|
|
spielehelfer wrote: Be carefull with '' and "" ... can drive you into some problems
like ?
are you suspecting me to confuse characters with C-Style Strings ?
|
|
|
|
|
Ok, here's the deal. I have several dll's that call each other. Now I would like to debug them to know what they're doing and understand their flow. How do i do it?
|
|
|
|
|
do you own their sources or not ?
moreover, to debug a DLL, it must have been compiled in debug mode (otherwise, no chance to do that).
|
|
|
|
|
Yes I have all the sources. Its a VC++6 Dll projects.
|
|
|
|
|
then compile all in debug mode, and set a breakpoint where you want it to stop.
debug just as if it were an exe...
|
|
|
|
|
For example if i want to display Favorites in List control how can i display it?
For example if i have my favorites have so many groups like VisualC++, .Net, Movies
like vise i have som many groups under that i have lot of links under eachgroup.
Now i want to display lie below
VisalC++
CodeProject www.codeproject.com
msdn www.msdn.com
.Net
developers www.codeguru.com
...
...
Movies
greatandhra www.greatandhra.com
...
..
How can i do it?
Any Suggestions plz..
|
|
|
|
|
Best go for a tree view which gives lot more features and flexibility. Or
else explain ur scenario more elaborately. Like u need sub groups like folder view in explorer or something else.
Manu
|
|
|
|
|
treeview seems good.
but explaining this in English (no SMS) is better so that everybody can understand your post
thanks
|
|
|
|
|
I'm working on an application that launches a separate thread for some processor intensive activities.
I used Spy to look at the running application, expecting to see two threads - but there were three! I can make out the main thread and the one that I launched. Both these clock up CPU time as expected. The third thread doesn't appear to do anything - CPU time etc. stays at zero.
The application works fine - I'm just curious to know where the extra thread comes from. I assume the system creates it automatically for some purpose. Does anyone know what it might be for?
Best Regards
Cliff Hatch
|
|
|
|
|
what type of application did u create?
nave
|
|
|
|
|
.NET 2002, MFC Application, MDI.
|
|
|
|
|
Debug your application and halt it after your second thread is created and it has ran for a while.
Switch the context of the unknown thread and have a look at the bottom of the call stack.
Does it say something with 'RPC'?
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"No one remembers a coward!" - Jan Elfström 1998 "...but everyone remembers an idiot!" - my lawyer 2005 when heard of Jan's saying above
|
|
|
|
|
Thanks for the suggestion Roger, but I'm having difficulty following your instructions.
All the threads close down cleanly when I halt - I assume you mean "pause"?
How should I switch the context of the unknown thread? The number of switches increments when I refresh the Spy properties window - is this what you mean?
I don't see how the call stack or anything else will be affected when the application is paused.
Apologies for this - I think I must be completely mis-interpreting your suggestion - could you provide some clarification?
Best Regards
Cliff
|
|
|
|