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

C / C++ / MFC

 
GeneralRe: How to write vector destructor? Pin
Stefan_Lang2-Sep-13 0:36
Stefan_Lang2-Sep-13 0:36 
QuestionHow to pass array from MFC (dialogbased) to win 32 DLL ? Pin
peoria12329-Aug-13 6:31
peoria12329-Aug-13 6:31 
AnswerRe: How to pass array from MFC (dialogbased) to win 32 DLL ? Pin
Richard Andrew x6429-Aug-13 8:33
professionalRichard Andrew x6429-Aug-13 8:33 
GeneralRe: How to pass array from MFC (dialogbased) to win 32 DLL ? Pin
peoria12329-Aug-13 11:02
peoria12329-Aug-13 11:02 
AnswerRe: How to pass array from MFC (dialogbased) to win 32 DLL ? Pin
Richard Andrew x6429-Aug-13 11:05
professionalRichard Andrew x6429-Aug-13 11:05 
AnswerRe: How to pass array from MFC (dialogbased) to win 32 DLL ? Pin
Richard MacCutchan29-Aug-13 21:06
mveRichard MacCutchan29-Aug-13 21:06 
QuestionPassing "this" pointer to Post/SendMessage Pin
Vaclav_28-Aug-13 6:12
Vaclav_28-Aug-13 6:12 
AnswerRe: Passing "this" pointer to Post/SendMessage Pin
Richard MacCutchan28-Aug-13 6:21
mveRichard MacCutchan28-Aug-13 6:21 
You are not sending the message anywhere. You need to send it to a specific window, and the pointer should be sent as a parameter; something like:
C++
SendMessage(myHwnd, WM_SERIAL_OUTPUT, 0, (LPARAM)pointer);

where myHwnd is the window handle of your CPropertyPage. Then in your message handler you can recast the pointer and use it to access the object.
Veni, vidi, abiit domum

GeneralRe: Passing "this" pointer to Post/SendMessage Pin
Vaclav_28-Aug-13 9:04
Vaclav_28-Aug-13 9:04 
GeneralRe: Passing "this" pointer to Post/SendMessage Pin
Richard MacCutchan28-Aug-13 21:14
mveRichard MacCutchan28-Aug-13 21:14 
GeneralRe: Passing "this" pointer to Post/SendMessage Pin
Vaclav_29-Aug-13 3:54
Vaclav_29-Aug-13 3:54 
GeneralRe: Passing "this" pointer to Post/SendMessage Pin
Richard MacCutchan29-Aug-13 4:23
mveRichard MacCutchan29-Aug-13 4:23 
GeneralRe: Passing "this" pointer to Post/SendMessage Pin
Vaclav_29-Aug-13 13:03
Vaclav_29-Aug-13 13:03 
GeneralRe: Passing "this" pointer to Post/SendMessage Pin
Richard MacCutchan29-Aug-13 20:50
mveRichard MacCutchan29-Aug-13 20:50 
GeneralRe: Passing "this" pointer to Post/SendMessage Pin
pasztorpisti28-Aug-13 6:29
pasztorpisti28-Aug-13 6:29 
AnswerRe: Passing "this" pointer to Post/SendMessage SOLVED Pin
Vaclav_28-Aug-13 14:33
Vaclav_28-Aug-13 14:33 
AnswerRe: Passing "this" pointer to Post/SendMessage Pin
ThatsAlok28-Aug-13 23:41
ThatsAlok28-Aug-13 23:41 
GeneralRe: Passing "this" pointer to Post/SendMessage Pin
Vaclav_29-Aug-13 3:48
Vaclav_29-Aug-13 3:48 
QuestionCListCtrl: Columns do not resize, if more number of columns are added Pin
Md Saleem Navalur27-Aug-13 21:25
Md Saleem Navalur27-Aug-13 21:25 
QuestionRe: CListCtrl: Columns do not resize, if more number of columns are added Pin
Richard MacCutchan27-Aug-13 22:30
mveRichard MacCutchan27-Aug-13 22:30 
AnswerRe: CListCtrl: Columns do not resize, if more number of columns are added Pin
_Flaviu28-Aug-13 1:54
_Flaviu28-Aug-13 1:54 
AnswerRe: CListCtrl: Columns do not resize, if more number of columns are added Pin
David Crow28-Aug-13 2:08
David Crow28-Aug-13 2:08 
AnswerRe: CListCtrl: Columns do not resize, if more number of columns are added Pin
.dan.g.28-Aug-13 19:11
professional.dan.g.28-Aug-13 19:11 
GeneralRe: CListCtrl: Columns do not resize, if more number of columns are added Pin
Md Saleem Navalur2-Sep-13 18:46
Md Saleem Navalur2-Sep-13 18:46 
Question"Mega C & C++ Beginer QuiZ" Code this and please!!! Pin
Chaie John27-Aug-13 21:16
Chaie John27-Aug-13 21:16 

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.