Click here to Skip to main content
15,909,829 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: convert int to char?? Pin
ThatsAlok2-May-05 22:56
ThatsAlok2-May-05 22:56 
GeneralRe: convert int to char?? Pin
Larsson2-May-05 22:57
Larsson2-May-05 22:57 
GeneralRe: convert int to char?? Pin
ThatsAlok2-May-05 23:06
ThatsAlok2-May-05 23:06 
GeneralRe: convert int to char?? Pin
Larsson2-May-05 23:10
Larsson2-May-05 23:10 
Answerquick way to convert int to null terminated string Pin
mkuhac3-May-05 10:56
mkuhac3-May-05 10:56 
AnswerRe: convert int to char?? Pin
CodeBeetle8-May-05 10:09
CodeBeetle8-May-05 10:09 
AnswerRe: convert int to char?? Pin
owillebo1-Aug-05 1:32
owillebo1-Aug-05 1:32 
Generalcontext sensitive help, vs6 -> vs7 Pin
IlanTal2-May-05 22:15
IlanTal2-May-05 22:15 
I have several projects in vs6 which I'm trying to convert to vs7. In vs6 I have html context sensitive helps which fail to work in vs7.

I tracked down the problem to OnCommandHelp which is where it goes when I press F1 on an area of interest. The following in the vs6 implementation:

LRESULT CFrameWnd::OnCommandHelp(WPARAM, LPARAM lParam)
{
if (lParam == 0)
{
if (IsTracking())
lParam = HID_BASE_COMMAND+m_nIDTracking;
else
lParam = HID_BASE_RESOURCE+m_nIDHelp;
}
if (lParam != 0)
{
CWinApp* pApp = AfxGetApp();
if (pApp != NULL)
pApp->WinHelp(lParam);
return TRUE;
}
return FALSE;
}

What happens is lParam gets a number, and through pApp it points to my application and goes to WinHelp. This all works very well.

In vs7 for some strange reason lParam is zero. This is the first mystery. The other strange thing is that instead of pApp->WinHelp, there is pApp->WinHelpInternal. I wouldn't mind changing the name from WinHelp to WinHelpInternal, but it isn't getting a non zero value for lParam up front.

Can anyone suggest what needs to be changed? I can't convert over to vs7 until I fix this problem.

Thanks,
Ilan


General3 D Push Button control Pin
thiyags2-May-05 21:04
thiyags2-May-05 21:04 
GeneralRe: 3 D Push Button control Pin
ThatsAlok2-May-05 23:53
ThatsAlok2-May-05 23:53 
GeneralActive Directory Pin
Yevgeny Efter2-May-05 20:46
Yevgeny Efter2-May-05 20:46 
GeneralRe: Active Directory Pin
spsharma2-May-05 23:22
spsharma2-May-05 23:22 
QuestionHelp needed in setting the dimensions of the window, when clicked on restore? Pin
ledallam2-May-05 20:21
ledallam2-May-05 20:21 
AnswerRe: Help needed in setting the dimensions of the window, when clicked on restore? Pin
Abhi Lahare2-May-05 22:19
Abhi Lahare2-May-05 22:19 
GeneralPostgreSQL Pin
Deian2-May-05 20:16
Deian2-May-05 20:16 
QuestionCFileDialog save/replace problem? Pin
ledallam2-May-05 20:08
ledallam2-May-05 20:08 
AnswerRe: CFileDialog save/replace problem? Pin
James R. Twine3-May-05 3:44
James R. Twine3-May-05 3:44 
GeneralJava Launcher Pin
vyjesh2-May-05 19:55
vyjesh2-May-05 19:55 
GeneralRe: Java Launcher Pin
CP Visitor2-May-05 23:03
CP Visitor2-May-05 23:03 
GeneralHELP!!! Dependancy problem of MFC. Pin
Sstar2-May-05 19:39
Sstar2-May-05 19:39 
GeneralRe: HELP!!! Dependancy problem of MFC. Pin
Christian Graus2-May-05 19:51
protectorChristian Graus2-May-05 19:51 
GeneralRe: HELP!!! Dependancy problem of MFC. Pin
Sstar3-May-05 21:46
Sstar3-May-05 21:46 
GeneralRe: HELP!!! Dependancy problem of MFC. Pin
Christian Graus8-May-05 12:38
protectorChristian Graus8-May-05 12:38 
GeneralGDIPLUS question Pin
Rassul Yunussov2-May-05 19:00
Rassul Yunussov2-May-05 19:00 
GeneralRe: GDIPLUS question Pin
Christian Graus2-May-05 19:50
protectorChristian Graus2-May-05 19:50 

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.