I m a beginner in VC++(MFC/SDI) and designing a project rite nw..
Instead of buttons, i m usin Icons for GUI flow..
I dont know how to call a dialog from someother dialog by
clicking the icons directly instead of usin buttons..
How to write a fn / a snippet to call something usin Icons...
i installed VC 6.0 on Windows 2k system.i work on VC++.
when i try to build a new project , i am getting the following error :
E:\SSS2\SSS.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.
Error executing rc.exe.
I want to make show the notification as like outlook email notification. I downloaded code form http://www.codeproject.com/KB/dialog/taskbarnotifier.aspx and i customized it. The downloaded code shows notification window on click (button)even but i want to implement it with thread and some code would be there to get string message from some where and if message is not null show the notification window with string message. I am unable to customize it as per my requirement. I request to all of you please help me. Thanks in advance.
a/ I just want to change the tooltip when a user hovers the mouse over my icon.
b/ Something has happened, and I want to tell the user about it, by popping up the tooltip right now. Like plugging in a network cable, etc.
(a) is easy, (b) isn't hard - but it took a bit of digging.
To create the notification icon, you'll need to fill in a NOTIFYICONDATA structure. I keep a copy of it as a member variable.
This is code trimmed from a working application. I *may* have missed something out, in which case reading up on NOTIFYICONDATA will help you a lot. Also, the balloon tooltip will only work with later shell versions.
Iain Clarke appearing by Special Request of CPallini.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
[in] Pointer to a null-terminated string that specifies the function or variable name, or the function's ordinal value. If this parameter is an ordinal value, it must be in the low-order word; the high-order word must be zero.
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.
You actually do need this method if you have a nice C++ "beautified" function name DLL so it can't still rely on function name since ... well, that may change (not fun to stumble on this by yourself, trying to load what you know function name is and then going when watching the insides). As for method, previous reply says it all.