Click here to Skip to main content
15,889,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to create an installation package Pin
Desmo1627-Jun-06 22:14
Desmo1627-Jun-06 22:14 
AnswerRe: how to create an installation package Pin
Trinainee27-Jun-06 22:25
Trinainee27-Jun-06 22:25 
GeneralRe: how to create an installation package Pin
Desmo1627-Jun-06 22:30
Desmo1627-Jun-06 22:30 
GeneralRe: how to create an installation package Pin
Trinainee27-Jun-06 22:37
Trinainee27-Jun-06 22:37 
AnswerRe: how to create an installation package Pin
Hamid_RT27-Jun-06 22:35
Hamid_RT27-Jun-06 22:35 
AnswerRe: how to create an installation package Pin
Ramón Pardo27-Jun-06 23:00
Ramón Pardo27-Jun-06 23:00 
Questionhow to update edit controls? Pin
thathvamsi27-Jun-06 22:13
thathvamsi27-Jun-06 22:13 
AnswerRe: how to update edit controls? Pin
Sarath C27-Jun-06 23:15
Sarath C27-Jun-06 23:15 
I think you can do the filling of edit box with values in OnInitDialog function. that is the best way.
Messages are using for notification with parameters(LPARAM,WPARAM).
You can use SendMessage or PostMessage to invoke that application (see MSDN for difference between PostMessage and SendMessage).

e.g

#define SHOW 1
#define HIDE 0

ON_MESSAGE(WM_INVOKE_CHILD, OnInvokeChild)


OnInvokeChild(WPARAM wParam, LPARAM lParam);
{
   if(SHOW == wParam)
      m_childWnd->ShowWindows(SW_SHOWNORMAL);
   else(SHOW == wParam)
      m_childWnd->ShowWindows(SW_HIDE);
}

you can use either param to pass the values


See MSDN for more information.

http://msdn2.microsoft.com/en-us/library/0812b0wa.aspx[^]



SaRath.

"It is your attitude, not your aptitude, that determines your altitude - Zig Ziglar."
My Blog | Understanding State Pattern in C++

AnswerRe: how to update edit controls? Pin
David Crow28-Jun-06 6:08
David Crow28-Jun-06 6:08 
GeneralRe: how to update edit controls? [modified] Pin
thathvamsi28-Jun-06 17:19
thathvamsi28-Jun-06 17:19 
GeneralRe: how to update edit controls? Pin
David Crow29-Jun-06 2:40
David Crow29-Jun-06 2:40 
Questionhow we get the IDs of the menu items Pin
happy_ram27-Jun-06 21:16
happy_ram27-Jun-06 21:16 
AnswerRe: how we get the IDs of the menu items Pin
Hamid_RT27-Jun-06 21:24
Hamid_RT27-Jun-06 21:24 
QuestionMaking CTabCtrl flicker free? Pin
Moak27-Jun-06 21:14
Moak27-Jun-06 21:14 
AnswerRe: Making CTabCtrl flicker free? Pin
Hamid_RT27-Jun-06 21:29
Hamid_RT27-Jun-06 21:29 
GeneralRe: Making CTabCtrl flicker free? Pin
Moak4-May-07 11:52
Moak4-May-07 11:52 
GeneralRe: Making CTabCtrl flicker free? Pin
Hamid_RT5-May-07 4:57
Hamid_RT5-May-07 4:57 
AnswerRe: Making CTabCtrl flicker free? Pin
Sarath C27-Jun-06 21:39
Sarath C27-Jun-06 21:39 
QuestionPointer to class member function Pin
Mila02527-Jun-06 21:13
Mila02527-Jun-06 21:13 
AnswerRe: Pointer to class member function Pin
toxcct27-Jun-06 21:20
toxcct27-Jun-06 21:20 
GeneralRe: Pointer to class member function Pin
talkshit11-Jul-06 2:07
talkshit11-Jul-06 2:07 
GeneralRe: Pointer to class member function Pin
super_ttd1-Jul-06 9:59
super_ttd1-Jul-06 9:59 
AnswerRe: Pointer to class member function Pin
Don Box27-Jun-06 21:28
Don Box27-Jun-06 21:28 
AnswerRe: Pointer to class member function Pin
Justin Tay27-Jun-06 21:31
Justin Tay27-Jun-06 21:31 
QuestionSize of structure in c++ Pin
Tony Kurishunkal27-Jun-06 20:33
Tony Kurishunkal27-Jun-06 20:33 

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.