Click here to Skip to main content
14,774,105 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to open a windows volume with CreateFile under Windows 98? Pin
Amanda Davis10-Aug-06 16:43
MemberAmanda Davis10-Aug-06 16:43 
QuestionCalling GetDlgItem in a static method Pin
RajiRaghu9-Aug-06 23:19
MemberRajiRaghu9-Aug-06 23:19 
AnswerRe: Calling GetDlgItem in a static method Pin
Cedric Moonen9-Aug-06 23:25
MemberCedric Moonen9-Aug-06 23:25 
AnswerRe: Calling GetDlgItem in a static method Pin
Viorel.9-Aug-06 23:41
MemberViorel.9-Aug-06 23:41 
GeneralRe: Calling GetDlgItem in a static method Pin
RajiRaghu10-Aug-06 0:20
MemberRajiRaghu10-Aug-06 0:20 
QuestionRe: Calling GetDlgItem in a static method Pin
Viorel.10-Aug-06 0:28
MemberViorel.10-Aug-06 0:28 
AnswerRe: Calling GetDlgItem in a static method Pin
RajiRaghu10-Aug-06 0:43
MemberRajiRaghu10-Aug-06 0:43 
GeneralRe: Calling GetDlgItem in a static method Pin
Viorel.10-Aug-06 1:03
MemberViorel.10-Aug-06 1:03 
It seems your static function is a member of a window class. In this case try to use "::":

::EnableWindow(::GetDlgItem(hDlg, IDC_Button_Search), FALSE);
AnswerRe: Calling GetDlgItem in a static method Pin
ThatsAlok10-Aug-06 1:47
MemberThatsAlok10-Aug-06 1:47 
AnswerRe: Calling GetDlgItem in a static method Pin
James R. Twine10-Aug-06 2:37
MemberJames R. Twine10-Aug-06 2:37 
AnswerRe: Calling GetDlgItem in a static method Pin
Hamid_RT10-Aug-06 9:28
MemberHamid_RT10-Aug-06 9:28 
Question'return' problem Pin
Ali Tavakol9-Aug-06 22:53
MemberAli Tavakol9-Aug-06 22:53 
AnswerRe: 'return' problem Pin
Cedric Moonen9-Aug-06 22:59
MemberCedric Moonen9-Aug-06 22:59 
AnswerRe: 'return' problem Pin
toxcct9-Aug-06 23:01
Membertoxcct9-Aug-06 23:01 
GeneralRe: 'return' problem Pin
Cedric Moonen9-Aug-06 23:04
MemberCedric Moonen9-Aug-06 23:04 
GeneralRe: 'return' problem Pin
toxcct9-Aug-06 23:08
Membertoxcct9-Aug-06 23:08 
AnswerRe: 'return' problem Pin
Justin Tay9-Aug-06 23:05
MemberJustin Tay9-Aug-06 23:05 
GeneralRe: 'return' problem Pin
Ali Tavakol9-Aug-06 23:10
MemberAli Tavakol9-Aug-06 23:10 
GeneralRe: 'return' problem [modified] Pin
Justin Tay9-Aug-06 23:21
MemberJustin Tay9-Aug-06 23:21 
GeneralRe: 'return' problem Pin
Cedric Moonen9-Aug-06 23:15
MemberCedric Moonen9-Aug-06 23:15 
GeneralRe: 'return' problem Pin
Justin Tay9-Aug-06 23:20
MemberJustin Tay9-Aug-06 23:20 
GeneralRe: 'return' problem Pin
Cedric Moonen9-Aug-06 23:28
MemberCedric Moonen9-Aug-06 23:28 
GeneralRe: 'return' problem [modified] Pin
Ali Tavakol9-Aug-06 23:32
MemberAli Tavakol9-Aug-06 23:32 
GeneralRe: 'return' problem [modified] Pin
Justin Tay9-Aug-06 23:36
MemberJustin Tay9-Aug-06 23:36 
GeneralRe: 'return' problem Pin
Viorel.9-Aug-06 23:21
MemberViorel.9-Aug-06 23:21 

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.