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

C / C++ / MFC

 
GeneralRe: There are faster accessing arrays than vectors! Pin
Chambers30-Nov-01 2:39
Chambers30-Nov-01 2:39 
GeneralVery strange behavior in ActiveX control, pleas help Pin
Bill Wilson28-Nov-01 8:51
Bill Wilson28-Nov-01 8:51 
QuestionHow to map return-key(enter) from combobox? Pin
Pony28-Nov-01 7:52
Pony28-Nov-01 7:52 
GeneralSoftware Documentation Pin
28-Nov-01 7:48
suss28-Nov-01 7:48 
GeneralRe: Software Documentation Pin
Mike Nordell28-Nov-01 17:28
Mike Nordell28-Nov-01 17:28 
GeneralTo Christian Graus & Nish Pin
Karavaev Denis28-Nov-01 7:21
Karavaev Denis28-Nov-01 7:21 
GeneralRe: To Christian Graus & Nish Pin
Chris Losinger28-Nov-01 7:46
professionalChris Losinger28-Nov-01 7:46 
GeneralRe: Who are these guys? Pin
Masaaki Onishi28-Nov-01 9:47
Masaaki Onishi28-Nov-01 9:47 
Hello, the codegurus around the world;)

The poster simply misunderstands between CWnd function and Windows API function.

Windows API
HWND GetDlgItem(
  HWND hDlg,       // handle to dialog box
  int nIDDlgItem   // control identifier
);


And, MFC
CWnd* GetDlgItem( int nID ) const;
void CWnd::GetDlgItem( int nID, HWND* phWnd ) const;


Also, if the poster wants to use WinAPI function in MFC,
we need the global resultion ::GetDlgItem(...);Roll eyes | :rolleyes:

Please, don't send me your email about your questions directly.
Have a nice day!
Sonork - 100.10571:vcdeveloper Wink | ;)

-Masaaki Onishi-


GeneralRe: Who are these guys? Pin
Karavaev Denis28-Nov-01 17:20
Karavaev Denis28-Nov-01 17:20 
GeneralRe: To Christian Graus & Nish Pin
Karavaev Denis28-Nov-01 17:23
Karavaev Denis28-Nov-01 17:23 
GeneralRe: OK, This is a tricky one! Pin
Masaaki Onishi28-Nov-01 17:34
Masaaki Onishi28-Nov-01 17:34 
GeneralI think, I'm an idiot .... Pin
Karavaev Denis28-Nov-01 17:47
Karavaev Denis28-Nov-01 17:47 
GeneralRe: I think, I'm an idiot .... Pin
Masaaki Onishi28-Nov-01 18:44
Masaaki Onishi28-Nov-01 18:44 
GeneralRe: I think, I'm an idiot .... Pin
Karavaev Denis28-Nov-01 19:01
Karavaev Denis28-Nov-01 19:01 
GeneralRe: I think, I'm an idiot .... Pin
Nish Nishant28-Nov-01 18:45
sitebuilderNish Nishant28-Nov-01 18:45 
GeneralRe: Ooops, I forgot to say... Pin
Masaaki Onishi29-Nov-01 7:03
Masaaki Onishi29-Nov-01 7:03 
Generalgt Pin
28-Nov-01 5:34
suss28-Nov-01 5:34 
GeneralCFileDialog and CFile::Open Pin
RobJones28-Nov-01 5:23
RobJones28-Nov-01 5:23 
GeneralRe: CFileDialog and CFile::Open Pin
Nish Nishant28-Nov-01 5:26
sitebuilderNish Nishant28-Nov-01 5:26 
GeneralRe: CFileDialog and CFile::Open Pin
RobJones28-Nov-01 5:38
RobJones28-Nov-01 5:38 
GeneralRe: CFileDialog and CFile::Open Pin
RobJones28-Nov-01 6:35
RobJones28-Nov-01 6:35 
GeneralRe: CFileDialog and CFile::Open Pin
RobJones28-Nov-01 9:19
RobJones28-Nov-01 9:19 
GeneralRe: CFileDialog and CFile::Open Pin
28-Nov-01 14:27
suss28-Nov-01 14:27 
GeneralGetDiskFreeSpaceEx Pin
RickyC28-Nov-01 5:22
RickyC28-Nov-01 5:22 
GeneralRe: GetDiskFreeSpaceEx Pin
Jon Hulatt28-Nov-01 5:47
Jon Hulatt28-Nov-01 5:47 

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.