Click here to Skip to main content
15,925,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ListCtrl Pin
Michael Dunn1-Apr-02 21:06
sitebuilderMichael Dunn1-Apr-02 21:06 
QuestionWM_AFXFIRST ??? Pin
Neville Franks1-Apr-02 17:36
Neville Franks1-Apr-02 17:36 
AnswerRe: WM_AFXFIRST ??? Pin
Shog91-Apr-02 18:39
sitebuilderShog91-Apr-02 18:39 
GeneralRe: WM_AFXFIRST ??? Pin
Neville Franks1-Apr-02 19:00
Neville Franks1-Apr-02 19:00 
GeneralCalling a Dialog from another Dialog Pin
Sayan Mukherjee1-Apr-02 17:08
Sayan Mukherjee1-Apr-02 17:08 
GeneralRe: Calling a Dialog from another Dialog Pin
Prem Kumar1-Apr-02 17:16
Prem Kumar1-Apr-02 17:16 
GeneralRe: Calling a Dialog from another Dialog Pin
Sayan Mukherjee2-Apr-02 0:11
Sayan Mukherjee2-Apr-02 0:11 
GeneralRe: Calling a Dialog from another Dialog Pin
Paul M Watt1-Apr-02 17:46
mentorPaul M Watt1-Apr-02 17:46 
If you are creating a dialog class that is derived from CDialog, you can simply add a member variable in the CDialog derived class, set that member with your allocated data in the main dialog before you display your second dialog. Then you will be able to access that data in your OnDialogInit handler of your second dialog.

If you are simply calling CreateDialog or DialogBox to display your dialog, then call CreateDialogParam, or DialogBoxParam instead and set the dwInitParam to the allocated data pointer. In your OnInitDialog handler, the LPARAM of that message will be this pointer.


Generalvolume control Pin
1-Apr-02 16:23
suss1-Apr-02 16:23 
GeneralRe: volume control Pin
Prem Kumar1-Apr-02 16:56
Prem Kumar1-Apr-02 16:56 
GeneralCHtmlView Question Pin
1-Apr-02 15:53
suss1-Apr-02 15:53 
GeneralRe: CHtmlView Question Pin
Paul M Watt1-Apr-02 16:55
mentorPaul M Watt1-Apr-02 16:55 
GeneralRe: CHtmlView Question Pin
1-Apr-02 17:57
suss1-Apr-02 17:57 
Generalblinking cursor position Pin
bracoute1-Apr-02 13:19
bracoute1-Apr-02 13:19 
GeneralRe: blinking cursor position Pin
Prem Kumar1-Apr-02 16:55
Prem Kumar1-Apr-02 16:55 
GeneralRe: blinking cursor position Pin
bracoute1-Apr-02 19:14
bracoute1-Apr-02 19:14 
GeneralClipboard Copy - multiple formats Pin
Aaron Schaefer1-Apr-02 13:02
Aaron Schaefer1-Apr-02 13:02 
GeneralMessage Reflection Pin
1-Apr-02 13:01
suss1-Apr-02 13:01 
GeneralMessage Relfection Pin
1-Apr-02 13:01
suss1-Apr-02 13:01 
GeneralRe: Message Relfection Pin
Shog91-Apr-02 13:08
sitebuilderShog91-Apr-02 13:08 
GeneralRe: Message Relfection Pin
1-Apr-02 13:11
suss1-Apr-02 13:11 
GeneralRe: Message Relfection Pin
Shog91-Apr-02 13:25
sitebuilderShog91-Apr-02 13:25 
GeneralRe: Message Relfection Pin
1-Apr-02 13:30
suss1-Apr-02 13:30 
GeneralRe: Message Relfection Pin
1-Apr-02 13:51
suss1-Apr-02 13:51 
GeneralRe: Message Relfection Pin
Shog91-Apr-02 17:57
sitebuilderShog91-Apr-02 17:57 

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.