Click here to Skip to main content
15,885,881 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionpassing value from C# to c++ Pin
mutpan20-May-09 19:40
mutpan20-May-09 19:40 
GeneralRe: passing value from C# to c++ Pin
norish21-May-09 1:34
norish21-May-09 1:34 
QuestionTextOut and distance between strings Pin
prithaa20-May-09 18:35
prithaa20-May-09 18:35 
GeneralRe: TextOut and distance between strings Pin
Michael Dunn20-May-09 18:48
sitebuilderMichael Dunn20-May-09 18:48 
GeneralRe: TextOut and distance between strings Pin
prithaa20-May-09 19:09
prithaa20-May-09 19:09 
GeneralRe: TextOut and distance between strings Pin
Michael Dunn20-May-09 19:32
sitebuilderMichael Dunn20-May-09 19:32 
GeneralRe: TextOut and distance between strings Pin
prithaa20-May-09 19:42
prithaa20-May-09 19:42 
GeneralRe: TextOut and distance between strings Pin
CPallini21-May-09 0:05
mveCPallini21-May-09 0:05 
Yes, of course you can.
If the name of a API function is the same of a MFC method, you've to use the global namespace operator :: in order to resolve name ambiguity, for instance:
CMyWnd::Foo()
{
  ::PostMessage(...); 
}


this calls the Win32 PostMessage function instead of the CWnd::PostMessage method.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

QuestionMFC APPLICATION Pin
kjayalakshmi20-May-09 18:28
kjayalakshmi20-May-09 18:28 
AnswerRe: MFC APPLICATION Pin
Hamid_RT20-May-09 19:17
Hamid_RT20-May-09 19:17 
AnswerRe: MFC APPLICATION Pin
ThatsAlok20-May-09 21:30
ThatsAlok20-May-09 21:30 
QuestionConvert C# to C++ MFC? Pin
nhenden6700020-May-09 17:33
nhenden6700020-May-09 17:33 
AnswerRe: Convert C# to C++ MFC? Pin
Chandrasekharan P20-May-09 17:49
Chandrasekharan P20-May-09 17:49 
AnswerRe: Convert C# to C++ MFC? Pin
Hamid_RT20-May-09 19:17
Hamid_RT20-May-09 19:17 
JokeRe: Convert C# to C++ MFC? Pin
ThatsAlok20-May-09 21:32
ThatsAlok20-May-09 21:32 
GeneralRe: Convert C# to C++ MFC? Pin
Hamid_RT21-May-09 2:32
Hamid_RT21-May-09 2:32 
JokeRe: Convert C# to C++ MFC? Pin
ThatsAlok20-May-09 21:31
ThatsAlok20-May-09 21:31 
QuestionHaving problems changing between forms. Pin
monkeyboy200920-May-09 16:54
monkeyboy200920-May-09 16:54 
AnswerRe: Having problems changing between forms. Pin
Chandrasekharan P20-May-09 19:17
Chandrasekharan P20-May-09 19:17 
GeneralRe: Having problems changing between forms. Pin
ThatsAlok20-May-09 21:36
ThatsAlok20-May-09 21:36 
GeneralRe: Having problems changing between forms. Pin
Chandrasekharan P20-May-09 21:52
Chandrasekharan P20-May-09 21:52 
AnswerRe: Having problems changing between forms. Pin
ThatsAlok20-May-09 21:36
ThatsAlok20-May-09 21:36 
QuestionHelp me! Pin
nhenden6700020-May-09 16:11
nhenden6700020-May-09 16:11 
AnswerRe: Help me! Pin
Hamid_RT20-May-09 19:22
Hamid_RT20-May-09 19:22 
AnswerRe: Help me! Pin
ThatsAlok20-May-09 21:38
ThatsAlok20-May-09 21:38 

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.