|
codeproject[^] has plenty of articles about system tray...
hope one will help.
|
|
|
|
|
Try the article at: http://www.codeproject.com/shell/trayicons.asp[^]
Nothing is impossible, It's merely a matter of finding an answer to the question of HOW? ... And answering that question is usually the most difficult part of the job!!!
|
|
|
|
|
See this 1999 MSJ article:
CTrayIcon[^]
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
|
|
|
|
|
|
|
Do you know if your application uses the .NET Framework? Did you statically link with the MFC libraries?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"We will be known forever by the tracks we leave." - Native American Proverb
|
|
|
|
|
|
MFC dll call some functions in GDI32, kernel32, user32 dlls, and MFC 8 might call a function which wasn't implemented yet in Win98.
there's nothing to do against that, except linking statically your program to the MFC dll...
|
|
|
|
|
Try build an non-unicode version.
Pavel
|
|
|
|
|
|
re-compile your app on Win98 with VC6 - I always develop my apps in this way then test them with XP etc.
|
|
|
|
|
can any1 show me snippet of doing that?
MSDN is not fulfilling
thanks
Yaron
Ask not what your application can do for you,
Ask what you can do for your application
|
|
|
|
|
Hello All,
I am working on a application providing multilingual support precisely arabic, thai an Japanese.
For all these 3 languages I have provided corresponding resource dll.
The resource contains Dialog boxes, whose caption has been set in the corresponding language.
The problem occurs when working in Japanese locale
The application works fine on Win XP, but when run on Win2000 or Win 98, all the captions of dialog box shows some weird strings instead of japanese strings.
This application is working fine on Win 2000 also with arabic and Thai locale.
Can anybody help me out??
Thanks in advance
Arun Tayal
|
|
|
|
|
Check three things in the RC file
1. The dialog resources should be DIALOGEX , not DIALOG
2. The style should have DS_SHELLFONT
3. THe font should be "MS Shell Dlg"
All those together make the dialog manager use the correct font no matter what the OS language is.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
Thanks a lot Mike.........
Now it is working absolutely fine.........
Regards
Arun Tayal
|
|
|
|
|
Dear by using Visual Studio 6.0 I could not set line color of CTreeCtrl.
It is saying that "SetLineColor" is not a member of CTreeCtrl
I have checked for the alternative method for Send message but it is also not compiling.
pls help me in this regards
Currently I am working as software engineer at Network System Technologies Pvt. Ltd (NeST). Most of my project are in C++. Most interesting are is GUI programming.
|
|
|
|
|
Use TreeView_SetLineColor( hTreeCtrl, clr )
- NS -
|
|
|
|
|
stil im getting error....
error C2065: 'TreeView_SetLineColor' : undeclared identifier
I have also tried this one...
m_TreCtrl.SendMessage(TVM_SETLINECOLOR,0, RGB(255,0,0));
seems it is the problem with some #define s
Currently I am working as software engineer at Network System Technologies Pvt. Ltd (NeST). Most of my project are in C++. Most interesting are is GUI programming.
|
|
|
|
|
Can u send some other TVM_ messages?
- NS -
|
|
|
|
|
Some times u may not be having the latest Platform SDK...
no problem ...the value of TVM_SETLINECOLOR is 0x00001128 ..
So just use this value to send the message
m_TreCtrl.SendMessage( 0x00001128,0, RGB(255,0,0));
nave
|
|
|
|
|
But I don't understand the reason...
This consant and macro will work only if _WIN32_IE >= 0x0500... Did u see the declarations in the CommCtrl.h ?
- NS -
|
|
|
|
|
smartsarath ...did set the winversion to 0X500
_WIN32_WINNT=0X501 (set this value in the preprocessor setting of the project settings )
nave
|
|
|
|
|
Naveen R wrote: _WIN32_WINNT=0X501 (set this value in the preprocessor setting of the project settings )
Just modify the stdafx.h file. And do modify the IE version too.
Nibu thomas
Software Developer
|
|
|
|
|
Have you set the version of IE.
You need Comctl32 version 5.80 or above for TVM_SETLINECOLOR to work.
This means you will need IE 5 or greater.
Nibu thomas
Software Developer
|
|
|
|
|
You mean Naveen's solution will not work?
- NS -
|
|
|
|