Click here to Skip to main content
15,891,750 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionactive xcontrol Pin
With_problem7-Aug-06 20:16
With_problem7-Aug-06 20:16 
QuestionSendMessage Function .... Pin
sach!!7-Aug-06 20:10
sach!!7-Aug-06 20:10 
AnswerRe: SendMessage Function .... Pin
Parthi_Appu7-Aug-06 20:27
Parthi_Appu7-Aug-06 20:27 
GeneralRe: SendMessage Function .... Pin
sach!!7-Aug-06 20:43
sach!!7-Aug-06 20:43 
GeneralRe: SendMessage Function .... Pin
Naren Neelamegam7-Aug-06 20:57
Naren Neelamegam7-Aug-06 20:57 
GeneralRe: SendMessage Function .... Pin
sach!!7-Aug-06 21:07
sach!!7-Aug-06 21:07 
GeneralRe: SendMessage Function .... Pin
sach!!7-Aug-06 20:58
sach!!7-Aug-06 20:58 
GeneralRe: SendMessage Function .... Pin
Parthi_Appu8-Aug-06 0:51
Parthi_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
Hamid_RT7-Aug-06 21:21 
GeneralRe: SendMessage Function .... Pin
sach!!7-Aug-06 21:31
sach!!7-Aug-06 21:31 
QuestionMoving Ellipse Problem [modified] Pin
uday kiran janaswamy7-Aug-06 20:08
uday kiran janaswamy7-Aug-06 20:08 
AnswerRe: Moving Ellipse Problem Pin
Hamid_RT7-Aug-06 21:44
Hamid_RT7-Aug-06 21:44 
GeneralRe: Moving Ellipse Problem Pin
uday kiran janaswamy7-Aug-06 23:16
uday kiran janaswamy7-Aug-06 23:16 
GeneralRe: Moving Ellipse Problem Pin
Hamid_RT8-Aug-06 1:05
Hamid_RT8-Aug-06 1:05 
GeneralRe: Moving Ellipse Problem [modified] Pin
uday kiran janaswamy8-Aug-06 1:42
uday kiran janaswamy8-Aug-06 1:42 
GeneralRe: Moving Ellipse Problem Pin
Hamid_RT8-Aug-06 4:37
Hamid_RT8-Aug-06 4:37 
QuestionHow to resize application acoording to system resolution set? Pin
jadhav1237-Aug-06 19:02
jadhav1237-Aug-06 19:02 
AnswerRe: How to resize application acoording to system resolution set? Pin
mails2dhana7-Aug-06 19:33
mails2dhana7-Aug-06 19:33 
GeneralRe: How to resize application acoording to system resolution set? Pin
Naveen7-Aug-06 19:43
Naveen7-Aug-06 19:43 
GeneralRe: How to resize application acoording to system resolution set? Pin
Hamid_RT7-Aug-06 20:34
Hamid_RT7-Aug-06 20:34 
AnswerRe: How to resize application acoording to system resolution set? Pin
Naren Neelamegam7-Aug-06 21:05
Naren Neelamegam7-Aug-06 21:05 
QuestionDisable tab control Pin
see me7-Aug-06 17:50
see me7-Aug-06 17:50 
AnswerRe: Disable tab control Pin
Naveen7-Aug-06 18:54
Naveen7-Aug-06 18:54 
AnswerRe: Disable tab control Pin
Parthi_Appu7-Aug-06 19:20
Parthi_Appu7-Aug-06 19:20 
QuestionUser Process Memory Pin
Manish K. Agarwal7-Aug-06 17:39
Manish 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.