Click here to Skip to main content
14,607,863 members

C / C++ / MFC

 
Questionactive xcontrol Pin
With_problem7-Aug-06 20:16
MemberWith_problem7-Aug-06 20:16 
QuestionSendMessage Function .... Pin
sach!!7-Aug-06 20:10
Membersach!!7-Aug-06 20:10 
AnswerRe: SendMessage Function .... Pin
Parthi_Appu7-Aug-06 20:27
MemberParthi_Appu7-Aug-06 20:27 
GeneralRe: SendMessage Function .... Pin
sach!!7-Aug-06 20:43
Membersach!!7-Aug-06 20:43 
GeneralRe: SendMessage Function .... Pin
Naren Neelamegam7-Aug-06 20:57
MemberNaren Neelamegam7-Aug-06 20:57 
GeneralRe: SendMessage Function .... Pin
sach!!7-Aug-06 21:07
Membersach!!7-Aug-06 21:07 
GeneralRe: SendMessage Function .... Pin
sach!!7-Aug-06 20:58
Membersach!!7-Aug-06 20:58 
GeneralRe: SendMessage Function .... Pin
Parthi_Appu8-Aug-06 0:51
MemberParthi_Appu8-Aug-06 0:51 
What iterator that was.. I mean map, list, vector..
anyway i hope the below approach will help you and i sorry 4 the delay..

Allocate memory of your type using new and copy the content from the iterator to the allocated memory and typecaste it...

say, the iterator has string valur then..

char *pStr = new char[..];
strcpy(pStr, (*it).c_str());
SendMessage(hWnd, USER_MSG, NULL, (LPARAM)(LPVOID)pStr);

the pStr memory should be freed in the handler of the message

Do your Duty and Don't expect the Result

AnswerRe: SendMessage Function .... Pin
Hamid_RT7-Aug-06 21:21
MemberHamid_RT7-Aug-06 21:21 
GeneralRe: SendMessage Function .... Pin
sach!!7-Aug-06 21:31
Membersach!!7-Aug-06 21:31 
QuestionMoving Ellipse Problem [modified] Pin
uday kiran janaswamy7-Aug-06 20:08
Memberuday kiran janaswamy7-Aug-06 20:08 
AnswerRe: Moving Ellipse Problem Pin
Hamid_RT7-Aug-06 21:44
MemberHamid_RT7-Aug-06 21:44 
GeneralRe: Moving Ellipse Problem Pin
uday kiran janaswamy7-Aug-06 23:16
Memberuday kiran janaswamy7-Aug-06 23:16 
GeneralRe: Moving Ellipse Problem Pin
Hamid_RT8-Aug-06 1:05
MemberHamid_RT8-Aug-06 1:05 
GeneralRe: Moving Ellipse Problem [modified] Pin
uday kiran janaswamy8-Aug-06 1:42
Memberuday kiran janaswamy8-Aug-06 1:42 
GeneralRe: Moving Ellipse Problem Pin
Hamid_RT8-Aug-06 4:37
MemberHamid_RT8-Aug-06 4:37 
QuestionHow to resize application acoording to system resolution set? Pin
jadhav1237-Aug-06 19:02
Memberjadhav1237-Aug-06 19:02 
AnswerRe: How to resize application acoording to system resolution set? Pin
mails2dhana7-Aug-06 19:33
Membermails2dhana7-Aug-06 19:33 
GeneralRe: How to resize application acoording to system resolution set? Pin
Naveen7-Aug-06 19:43
MemberNaveen7-Aug-06 19:43 
GeneralRe: How to resize application acoording to system resolution set? Pin
Hamid_RT7-Aug-06 20:34
MemberHamid_RT7-Aug-06 20:34 
AnswerRe: How to resize application acoording to system resolution set? Pin
Naren Neelamegam7-Aug-06 21:05
MemberNaren Neelamegam7-Aug-06 21:05 
QuestionDisable tab control Pin
see me7-Aug-06 17:50
Membersee me7-Aug-06 17:50 
AnswerRe: Disable tab control Pin
Naveen7-Aug-06 18:54
MemberNaveen7-Aug-06 18:54 
AnswerRe: Disable tab control Pin
Parthi_Appu7-Aug-06 19:20
MemberParthi_Appu7-Aug-06 19:20 
QuestionUser Process Memory Pin
Manish K. Agarwal7-Aug-06 17:39
MemberManish K. Agarwal7-Aug-06 17:39 

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.