Click here to Skip to main content
15,911,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I get the handle of the dialog ? Pin
SherTeks8-Jul-08 1:13
SherTeks8-Jul-08 1:13 
AnswerRe: How can I get the handle of the dialog ? Pin
Saurabh.Garg8-Jul-08 1:20
Saurabh.Garg8-Jul-08 1:20 
AnswerRe: How can I get the handle of the dialog ? Pin
pallaka8-Jul-08 1:45
pallaka8-Jul-08 1:45 
HANDLE p_Dialog= GetDlgItem(/*handle of dialogbox*/,IDDIALOG);

The GetDlgItem function retrieves a handle to a control in the specified dialog box.

Syntax
<big>
HWND GetDlgItem(          HWND hDlg,
    int nIDDlgItem
);</big>

Parameters

hDlg
[in] Handle to the dialog box that contains the control.
nIDDlgItem
[in] Specifies the identifier of the control to be retrieved.
Return Value

If the function succeeds, the return value is the window handle of the specified control.

If the function fails, the return value is NULL, indicating an invalid dialog box handle or a nonexistent control. To get extended error information, call GetLastError.
GeneralRe: How can I get the handle of the dialog ? Pin
Saurabh.Garg8-Jul-08 1:54
Saurabh.Garg8-Jul-08 1:54 
GeneralRe: How can I get the handle of the dialog ? Pin
pallaka8-Jul-08 2:00
pallaka8-Jul-08 2:00 
QuestionRe: How can I get the handle of the dialog ? Pin
CPallini8-Jul-08 2:13
mveCPallini8-Jul-08 2:13 
AnswerRe: How can I get the handle of the dialog ? Pin
pallaka8-Jul-08 2:15
pallaka8-Jul-08 2:15 
GeneralRe: How can I get the handle of the dialog ? Pin
Saurabh.Garg8-Jul-08 2:23
Saurabh.Garg8-Jul-08 2:23 
AnswerRe: How can I get the handle of the dialog ? Pin
Mark Salsbery8-Jul-08 6:39
Mark Salsbery8-Jul-08 6:39 
Questionsetting config in win 32 pgm ................ Pin
srikanthyenuganti8-Jul-08 1:05
srikanthyenuganti8-Jul-08 1:05 
AnswerRe: setting config in win 32 pgm ................ Pin
Saurabh.Garg8-Jul-08 1:30
Saurabh.Garg8-Jul-08 1:30 
GeneralRe: setting config in win 32 pgm ................ Pin
srikanthyenuganti10-Jul-08 2:00
srikanthyenuganti10-Jul-08 2:00 
GeneralRe: setting config in win 32 pgm ................ Pin
Saurabh.Garg10-Jul-08 3:20
Saurabh.Garg10-Jul-08 3:20 
AnswerRe: setting config in win 32 pgm ................ Pin
SandipG 8-Jul-08 2:39
SandipG 8-Jul-08 2:39 
Questioncan any one slove this problem ............ Pin
srikanthyenuganti8-Jul-08 1:03
srikanthyenuganti8-Jul-08 1:03 
AnswerRe: can any one slove this problem ............ Pin
Yajnesh Narayan Behera8-Jul-08 3:18
Yajnesh Narayan Behera8-Jul-08 3:18 
GeneralRe: can any one slove this problem ............ Pin
srikanthyenuganti10-Jul-08 1:59
srikanthyenuganti10-Jul-08 1:59 
QuestionInter-Thread Communication Pin
Daniel Kanev7-Jul-08 23:58
Daniel Kanev7-Jul-08 23:58 
AnswerRe: Inter-Thread Communication Pin
CPallini8-Jul-08 0:11
mveCPallini8-Jul-08 0:11 
AnswerRe: Inter-Thread Communication Pin
killabyte8-Jul-08 0:14
killabyte8-Jul-08 0:14 
QuestionRe: Inter-Thread Communication Pin
killabyte8-Jul-08 13:16
killabyte8-Jul-08 13:16 
AnswerRe: Inter-Thread Communication Pin
Iain Clarke, Warrior Programmer9-Jul-08 0:09
Iain Clarke, Warrior Programmer9-Jul-08 0:09 
GeneralRe: Inter-Thread Communication Pin
killabyte9-Jul-08 2:45
killabyte9-Jul-08 2:45 
AnswerRe: Inter-Thread Communication Pin
Cedric Moonen8-Jul-08 0:40
Cedric Moonen8-Jul-08 0:40 
Questiondisplay source code while debugging Pin
George_George7-Jul-08 23:56
George_George7-Jul-08 23:56 

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.