Click here to Skip to main content
15,912,504 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Request for testing new secure edit control Pin
Dominik Reichl16-Apr-05 3:12
Dominik Reichl16-Apr-05 3:12 
GeneralRe: Request for testing new secure edit control Pin
Alexander M.,16-Apr-05 10:42
Alexander M.,16-Apr-05 10:42 
QuestionTaskBar Icon Problem??????????? Pin
ddmcr16-Apr-05 1:04
ddmcr16-Apr-05 1:04 
AnswerRe: TaskBar Icon Problem??????????? Pin
ThatsAlok16-Apr-05 1:27
ThatsAlok16-Apr-05 1:27 
GeneralRe: TaskBar Icon Problem??????????? Pin
ddmcr16-Apr-05 1:55
ddmcr16-Apr-05 1:55 
GeneralRe: TaskBar Icon Problem??????????? Pin
ThatsAlok16-Apr-05 2:29
ThatsAlok16-Apr-05 2:29 
GeneralRe: TaskBar Icon Problem??????????? Pin
ThatsAlok17-Apr-05 19:08
ThatsAlok17-Apr-05 19:08 
AnswerRe: TaskBar Icon Problem??????????? Pin
Alexander M.,16-Apr-05 2:40
Alexander M.,16-Apr-05 2:40 
tnid.szTip[0] = 'Hi';
That does not work!!!!
szTip is an array, and you can't set it that way!!!
First of all, strings in C++ are written with ", not '.

You can never copy an array by assign it to another one!

To copy a string, use strcpy.

strcpy( tnid.szTip, "Hi" );

That should work!
tnid.hWnd = (HWND)this;

Also wrong! (I assume that the this ptr is a CWnd)
tnid.hWnd = GetSafeHwnd();

Using WM_MOUSEMOVE as callback is also not very intelligent!
Define a custom message, e.g. #define WM_TRAYICON WM_USER + 1


You should really learn the programming language first before starting to code!

Don't try it, just do it! Wink | ;-)
GeneralRe: TaskBar Icon Problem??????????? Pin
ddmcr16-Apr-05 3:38
ddmcr16-Apr-05 3:38 
GeneralRe: TaskBar Icon Problem??????????? Pin
Alexander M.,16-Apr-05 9:54
Alexander M.,16-Apr-05 9:54 
GeneralNeed help with fread & fwrite Pin
Lynsen16-Apr-05 0:24
Lynsen16-Apr-05 0:24 
GeneralRe: Need help with fread & fwrite Pin
namaskaaram16-Apr-05 0:36
namaskaaram16-Apr-05 0:36 
GeneralRe: Need help with fread & fwrite Pin
Lynsen16-Apr-05 0:43
Lynsen16-Apr-05 0:43 
GeneralRe: Need help with fread & fwrite Pin
namaskaaram16-Apr-05 0:45
namaskaaram16-Apr-05 0:45 
GeneralRe: Need help with fread & fwrite Pin
David Crow18-Apr-05 5:19
David Crow18-Apr-05 5:19 
QuestionHow to create global variable in atl project Pin
Anonymous16-Apr-05 0:10
Anonymous16-Apr-05 0:10 
AnswerRe: How to create global variable in atl project Pin
ThatsAlok16-Apr-05 0:30
ThatsAlok16-Apr-05 0:30 
GeneralRe: How to create global variable in atl project Pin
Anonymous16-Apr-05 0:52
Anonymous16-Apr-05 0:52 
QuestionHow to create object of ATL class Pin
Anonymous15-Apr-05 23:41
Anonymous15-Apr-05 23:41 
AnswerRe: How to create object of ATL class Pin
ThatsAlok16-Apr-05 0:14
ThatsAlok16-Apr-05 0:14 
Generalproblem in setting value in component Pin
Anonymous15-Apr-05 23:14
Anonymous15-Apr-05 23:14 
Generalwherez my mistake!! Pin
Member 188014615-Apr-05 22:36
Member 188014615-Apr-05 22:36 
GeneralRe: wherez my mistake!! Pin
ThatsAlok15-Apr-05 23:00
ThatsAlok15-Apr-05 23:00 
GeneralRe: wherez my mistake!! Pin
Member 188014615-Apr-05 23:04
Member 188014615-Apr-05 23:04 
GeneralRe: wherez my mistake!! Pin
ThatsAlok15-Apr-05 23:18
ThatsAlok15-Apr-05 23:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.