Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSerialazing in 'Dialog Based App' Pin
27-May-01 3:06
suss27-May-01 3:06 
GeneralSerialazing in 'Dialog Based App' Pin
27-May-01 3:06
suss27-May-01 3:06 
GeneralINI Files Pin
#realJSOP27-May-01 1:39
professional#realJSOP27-May-01 1:39 
GeneralRe: INI Files Pin
Christian Graus27-May-01 2:41
protectorChristian Graus27-May-01 2:41 
GeneralRe: INI Files Pin
#realJSOP27-May-01 3:53
professional#realJSOP27-May-01 3:53 
GeneralRe: INI Files Pin
#realJSOP28-May-01 1:04
professional#realJSOP28-May-01 1:04 
QuestionHow can I get a controls HWND ? Pin
26-May-01 9:34
suss26-May-01 9:34 
AnswerRe: How can I get a controls HWND ? Pin
26-May-01 10:28
suss26-May-01 10:28 
For example the ID of the dialog control is IDC_BUTTON2.

CWnd *pWnd = GetDlgItem(IDC_BUTTON2);
if (pWnd)
{
HWND hwnd = pWnd->m_hWnd;
// hwnd is your handle to the control
}

I hope I could help you...

Gregor Mitsch
E-Mail: abacus-@gmx.de

GeneralRe: How can I get a controls HWND ? Pin
Vu Nguyen15-Nov-01 5:58
Vu Nguyen15-Nov-01 5:58 
AnswerRe: How can I get a controls HWND ? Pin
26-May-01 10:47
suss26-May-01 10:47 
AnswerRe: How can I get a controls HWND ? Pin
Waleed Eissa26-May-01 11:11
Waleed Eissa26-May-01 11:11 
AnswerThanks for all ! Pin
27-May-01 4:54
suss27-May-01 4:54 
GeneralPrepare image before Bitblt Pin
Starodubtsev Sergey26-May-01 7:00
Starodubtsev Sergey26-May-01 7:00 
GeneralRe: Prepare image before Bitblt Pin
Christian Graus26-May-01 22:13
protectorChristian Graus26-May-01 22:13 
GeneralCEditView Pin
Starodubtsev Sergey26-May-01 6:05
Starodubtsev Sergey26-May-01 6:05 
GeneralRe: CEditView Pin
27-May-01 7:40
suss27-May-01 7:40 
GeneralReading data from CFile Pin
26-May-01 2:52
suss26-May-01 2:52 
GeneralRe: Reading data from CFile Pin
26-May-01 3:46
suss26-May-01 3:46 
GeneralRe: Reading data from CFile Pin
26-May-01 5:15
suss26-May-01 5:15 
GeneralRe: Reading data from CFile Pin
27-May-01 1:02
suss27-May-01 1:02 
GeneralRe: Reading data from CFile Pin
27-May-01 7:48
suss27-May-01 7:48 
GeneralWinNT service and system shutdown Pin
"Le Phuc Nguyen Tuan"25-May-01 19:18
"Le Phuc Nguyen Tuan"25-May-01 19:18 
GeneralRe: WinNT service and system shutdown Pin
Ghazi H. Wadi28-May-01 7:19
Ghazi H. Wadi28-May-01 7:19 
GeneralSource code ... Pin
Hadi Rezaee25-May-01 18:43
Hadi Rezaee25-May-01 18:43 
GeneralRe: Source code ... Pin
Christian Graus26-May-01 22:25
protectorChristian Graus26-May-01 22:25 

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.