Click here to Skip to main content
15,898,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: PostMessage with WPARAM does not work Pin
Richard MacCutchan5-Oct-11 21:39
mveRichard MacCutchan5-Oct-11 21:39 
AnswerRe: You can't simulate keyboard input with PostMessage Pin
Software_Developer5-Oct-11 21:50
Software_Developer5-Oct-11 21:50 
AnswerRe: PostMessage with WPARAM does not work Pin
Vaclav_5-Oct-11 23:21
Vaclav_5-Oct-11 23:21 
GeneralRe: PostMessage with WPARAM does not work Pin
enhzflep6-Oct-11 1:10
enhzflep6-Oct-11 1:10 
QuestionHi there all again! This time with an improvement! (and more clear question about C++ ADO) :) Pin
symeramon5-Oct-11 5:21
symeramon5-Oct-11 5:21 
AnswerRe: Hi there all again! This time with an improvement! (and more clear question about C++ ADO) :) Pin
David Crow5-Oct-11 8:10
David Crow5-Oct-11 8:10 
GeneralRe: Hi there all again! This time with an improvement! (and more clear question about C++ ADO) :) Pin
symeramon6-Oct-11 0:47
symeramon6-Oct-11 0:47 
GeneralRe: Hi there all again! This time with an improvement! (and more clear question about C++ ADO) :) Pin
David Crow6-Oct-11 2:55
David Crow6-Oct-11 2:55 
symeramon wrote:
But the main problem is how can I get the id from vector...

What does a vector have to do with any of this?

symeramon wrote:
...use it in the button click event?

BEGIN_MESSAGE_MAP(CMyDialog, CDialog)
    //{{AFX_MSG_MAP(CMyDialog)
    ON_BN_CLICKED(IDC_SOME_BUTTON, OnButtonClicked)
END_MESSAGE_MAP()
...
void CMyDialog::OnButtonClicked() 
{
    m_listbox.AddString(_T("Hello World!"));
}

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous


GeneralRe: Hi there all again! This time with an improvement! (and more clear question about C++ ADO) :) Pin
symeramon7-Oct-11 5:33
symeramon7-Oct-11 5:33 
QuestionMFC usage Pin
mysmax5-Oct-11 2:01
mysmax5-Oct-11 2:01 
AnswerRe: MFC usage Pin
Albert Holguin5-Oct-11 2:53
professionalAlbert Holguin5-Oct-11 2:53 
GeneralRe: MFC usage Pin
Stefan_Lang6-Oct-11 1:32
Stefan_Lang6-Oct-11 1:32 
AnswerRe: MFC usage Pin
Software_Developer5-Oct-11 3:11
Software_Developer5-Oct-11 3:11 
GeneralRe: MFC usage Pin
Richard MacCutchan5-Oct-11 4:42
mveRichard MacCutchan5-Oct-11 4:42 
GeneralRe: MFC usage Pin
Software_Developer5-Oct-11 5:13
Software_Developer5-Oct-11 5:13 
QuestionC++ Providers Pin
rupeshkp7285-Oct-11 1:36
rupeshkp7285-Oct-11 1:36 
AnswerRe: C++ Providers Pin
_AnsHUMAN_ 5-Oct-11 1:52
_AnsHUMAN_ 5-Oct-11 1:52 
GeneralRe: C++ Providers Pin
rupeshkp7285-Oct-11 1:59
rupeshkp7285-Oct-11 1:59 
AnswerRe: C++ Providers Pin
Software_Developer5-Oct-11 3:31
Software_Developer5-Oct-11 3:31 
GeneralRe: C++ Providers Pin
rupeshkp7285-Oct-11 4:39
rupeshkp7285-Oct-11 4:39 
QuestionHow to Copy static array to dynamic array Pin
002comp4-Oct-11 23:34
002comp4-Oct-11 23:34 
AnswerRe: How to Copy static array to dynamic array Pin
_AnsHUMAN_ 5-Oct-11 1:19
_AnsHUMAN_ 5-Oct-11 1:19 
AnswerRe: How to Copy static array to dynamic array Pin
Code-o-mat5-Oct-11 2:39
Code-o-mat5-Oct-11 2:39 
GeneralRe: How to Copy static array to dynamic array Pin
Albert Holguin5-Oct-11 2:57
professionalAlbert Holguin5-Oct-11 2:57 
GeneralRe: How to Copy static array to dynamic array Pin
Code-o-mat5-Oct-11 3:13
Code-o-mat5-Oct-11 3:13 

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.