CListBox::SetCurSel() doesn't highlight the selection976 (8/30/2005 10:17:38 AM) microsoft.public.vc.mfc Hi, I used a list box in a dialog and use SetCurSel(i); in the OnInitDialog( ) The list box was selected but not highlighted. I used a lot of methods to try to highlight it but none did work. Anyone knows a wo... Kelvin
CInternetSession::OpenURL don't report wrong http URL122 (8/27/2005 2:21:25 AM) microsoft.public.vc.mfc Hi, I used OpenURL to download a binary file by http. To my surprise, even if the url is wrong, it return pfile. Is there a way to know the wrong url? Thank you My codes: try { pfile = (CInternetFile*)m... Kelvin
How to re-start an application?316 (7/25/2005 11:15:36 AM) microsoft.public.vc.mfc Hi, Need to re-start the application when users changes the project. It is a MFC SDI application. I guess I can use "CreateProcess..." to restart it. However is there a more decent way to do it? Such as keep ... Kelvin
Welcome dialog in MFC doc/view?322 (2/16/2005 3:53:15 AM) microsoft.public.vc.mfc Hi, Need to add one 'welcome' dialog in an application of MFC doc/view. Need to show the dialog after the application is showed. Where should I put the dialog.DoModal ()? Thank you a lot Best regards, ... Kelvin
use CFtpConnection on very slow connection017 (1/18/2005 9:37:45 AM) microsoft.public.vc.mfc Hi I have used CFtpConnection to transfer files. It works in most condition but breaks when the connection is very slow. Any one know some article referring how to use this on very slow connection? m_pFtpConne... Kelvin
How to get notice when CDialog is showed?518 (1/13/2005 3:44:12 AM) microsoft.public.vc.mfc Hi, I need to do something as soon as the dialog is showed. I added the codes in OnInitDialog(), then I found the dialog hasn't been showed by then. I have to add m_nTimerID = SetTimer(1, 25, 0); in the OnInit... Kelvin
Change 1 dialog application to 2 dialogs applications?417 (1/6/2005 2:21:55 AM) microsoft.public.vc.mfc Hi, I have made a mfc dialog based application. Now I want to change it to 2 dialogs, one wizzard and one classic, and i want the 2 dialog can call each other. So I change the codes in App::InitInstance() { ..... Kelvin
Kelvin_gl's replies:
Items(6) /1
Strange! Change the view and dialogs disappear124 (9/23/2003 12:53:02 AM) microsoft.public.vc.mfc Hi everyone, We first use a splitter window in mainframe and the right view(SDIDemoView) is derived from CRichEditView. Now we made a new CMyView class which is derived from CHtmlView and replace the SDIDemoVi... Kelvin_gl(33)
Encode URL parameter value?227 (6/17/2004 10:17:15 AM) microsoft.public.vc.mfc Hi, I need to pass parameter to a URL (on the internet). Are there any function to encode parameter like Server.URLEncode() in ASP? Thank you, Kelvin ... Kelvin_gl(33)
How to get notice when CDialog is showed?518 (1/13/2005 3:44:12 AM) microsoft.public.vc.mfc Hi, I need to do something as soon as the dialog is showed. I added the codes in OnInitDialog(), then I found the dialog hasn't been showed by then. I have to add m_nTimerID = SetTimer(1, 25, 0); in the OnInit... Kelvin_gl(33)