Click here to Skip to main content
15,890,717 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSplit a string in MFC Pin
Member 439977120-Jan-10 21:28
Member 439977120-Jan-10 21:28 
AnswerRe: Split a string in MFC Pin
Nelek20-Jan-10 21:37
protectorNelek20-Jan-10 21:37 
GeneralRe: Split a string in MFC Pin
Member 439977120-Jan-10 21:50
Member 439977120-Jan-10 21:50 
GeneralRe: Split a string in MFC Pin
Nelek20-Jan-10 22:31
protectorNelek20-Jan-10 22:31 
AnswerRe: Split a string in MFC Pin
Jijo.Raj20-Jan-10 21:39
Jijo.Raj20-Jan-10 21:39 
AnswerRe: Split a string in MFC Pin
Rajesh R Subramanian20-Jan-10 23:18
professionalRajesh R Subramanian20-Jan-10 23:18 
QuestionHow to get Dialog handle Pin
Anu_Bala20-Jan-10 20:30
Anu_Bala20-Jan-10 20:30 
AnswerRe: How to get Dialog handle [modified] Pin
Nelek20-Jan-10 20:58
protectorNelek20-Jan-10 20:58 
One possibility could be (calling the function inside your dialog, maybe when showing up):

CSomeDialog::SomeMethod()
{
    HANDLE p_Dlg = GetDlgItem((HANDLE)this, IDC_YOURDIALOG);
    //...
}


afterwards you can give the handle to be used in other place.


Forget it. I choose false example from the net. Thanks for correction Stephen Smile | :)

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.

modified on Thursday, January 21, 2010 4:43 AM

GeneralRe: How to get Dialog handle Pin
Stephen Hewitt20-Jan-10 22:10
Stephen Hewitt20-Jan-10 22:10 
GeneralRe: How to get Dialog handle Pin
Nelek20-Jan-10 22:32
protectorNelek20-Jan-10 22:32 
AnswerRe: How to get Dialog handle Pin
vasu_sri20-Jan-10 21:35
vasu_sri20-Jan-10 21:35 
GeneralRe: How to get Dialog handle Pin
Anu_Bala20-Jan-10 21:47
Anu_Bala20-Jan-10 21:47 
GeneralRe: How to get Dialog handle Pin
vasu_sri20-Jan-10 22:08
vasu_sri20-Jan-10 22:08 
AnswerRe: How to get Dialog handle Pin
SandipG 20-Jan-10 21:42
SandipG 20-Jan-10 21:42 
AnswerRe: How to get Dialog handle Pin
Raj Indian21-Jan-10 1:50
Raj Indian21-Jan-10 1:50 
AnswerRe: How to get Dialog handle Pin
Richard MacCutchan21-Jan-10 2:38
mveRichard MacCutchan21-Jan-10 2:38 
QuestionRe: How to get Dialog handle Pin
David Crow21-Jan-10 3:03
David Crow21-Jan-10 3:03 
Questionstrange Pin
john563220-Jan-10 20:08
john563220-Jan-10 20:08 
AnswerRe: strange Pin
Rajesh R Subramanian20-Jan-10 20:12
professionalRajesh R Subramanian20-Jan-10 20:12 
GeneralRe: strange Pin
john563220-Jan-10 22:43
john563220-Jan-10 22:43 
QuestionReading a (MAC) Address on my (NIC) or any other hardware device information. Pin
rbwest8620-Jan-10 19:52
rbwest8620-Jan-10 19:52 
AnswerRe: Reading a (MAC) Address on my (NIC) or any other hardware device information. Pin
Rajesh R Subramanian20-Jan-10 19:58
professionalRajesh R Subramanian20-Jan-10 19:58 
QuestionRe: Reading a (MAC) Address on my (NIC) or any other hardware device information. Pin
David Crow21-Jan-10 3:04
David Crow21-Jan-10 3:04 
AnswerRe: Reading a (MAC) Address on my (NIC) or any other hardware device information. Pin
rbwest8621-Jan-10 8:28
rbwest8621-Jan-10 8:28 
GeneralRe: Reading a (MAC) Address on my (NIC) or any other hardware device information. Pin
David Crow21-Jan-10 8:48
David Crow21-Jan-10 8:48 

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.