Hdwp
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 7 articles for 0.303 sec
>From wendel723@basf.com Wed Nov 22 22:37:07 2006 Return-Path: <wendel723@basf.com> Received: from localhost ([192.168.0.3]) by dev.null.davjam.org with ESMTP id <6YBskx5TENZFBw4n@dev.null.davjam.org> for <dbolt@my-ste.demon.co.uk>; Wed, 22 Nov 2006 22:37:07 +0000 Received: from pop3.demon.co.uk by localhost with POP3 (fetchmail-6.2.5) for dbolt@my-ste.demon.co.uk (multi-drop); Wed, 22 Nov     

Group: news.admin.net-abuse.sightings · Group Profile · Search for Hdwp in news.admin.net-abuse.sightings
Author: David Bolt
Date: Nov 22, 2006 21:08

Hi AliR, I am developing a MFC DLL project. I don't know how to catch TCN_SELCHANGE notification. Could you give me some ideas? David AliR wrote: TabCtrl_GetCurSel(hWnd) is a the same as SendMessage(hWnd,TCM_GETCURSEL,0,0); I saw that you are creating the tab and adding items to it. In the code that you have posted (assuming that this is all in the same function) the
Show full article (19.50Kb)
TabCtrl_GetCurSel(hWnd) is a the same as SendMessage(hWnd,TCM_GETCURSEL,0,0); I saw that you are creating the tab and adding items to it. In the code that you have posted (assuming that this is all in the same function) the current selection is always going to be 0 because you have just added a bunch of items and haven't set an index other than 0. So GetCurSel will always return a 0. If     

Group: microsoft.public.vc.mfc · Group Profile · Search for Hdwp in microsoft.public.vc.mfc
Author: lfsym
Date: Aug 2, 2006 09:37

Hi AliR, I am sorry. the code is like this: (1) create the tab control hwndTabCtrl=CreateWindow (WC_TABCONTROL,"",WS_CHILD|WS_CLIPSIBLINGS|WS_VISIBLE,0,0,rcClient.right,rcClient.bottom,hwndParent,NULL,g_hinst,NULL); if(hwndTabCtrl==NULL) AfxMessageBox("can't create tab control window"); (2) create three dialogs pDialog[0]=new CPartDlg(); pDialog[0]->Create
Show full article (8.68Kb) · Show article thread
Hi David, I am sorry but I can't really tell what is going on from the code you provided. AliR. "lfsym" <clamayi@gmail.com> wrote in message news:1154529256.800375.224700@p79g2000cwp.googlegroups.com... > Thanks,AliR. I modify my codes according to your suggestion. but there > still the same problem.What I want is like this: when I select the > first page,one dialog is shown up(not automatically     

Group: microsoft.public.vc.mfc · Group Profile · Search for Hdwp in microsoft.public.vc.mfc
Author: AliR
Date: Aug 2, 2006 09:13

Thanks,AliR. I modify my codes according to your suggestion. but there still the same problem.What I want is like this: when I select the first page,one dialog is shown up(not automatically) and when I select the second page the other dialog is up. because I use DLL, it is not easy to process the message TCN_SELCHANGE. i use the macro TabCtrl_GetCurSel(), but I don't know why the return value
Show full article (8.04Kb)
In order for one dialog to be created as part of another window the Dialog must have the WS_CHILD style, and by default CFileDialog has the WS_POPUP style. There are ways around that, you can override the dialog template of the file dialog and telling CFileDialog to load that instead. http://www.codeproject.com/dialog/xfiledialog.asp The other thing is that you will have to use CFileDialog     

Group: microsoft.public.vc.mfc · Group Profile · Search for Hdwp in microsoft.public.vc.mfc
Author: lfsym
Date: Aug 2, 2006 08:52

Show full article (6.85Kb) · Show article thread
    

Group: microsoft.public.vc.mfc · Group Profile · Search for Hdwp in microsoft.public.vc.mfc
Author: AliR
Date: Aug 2, 2006 08:18

Show full article (4.86Kb)
    

Group: microsoft.public.vc.mfc · Group Profile · Search for Hdwp in microsoft.public.vc.mfc
Author: lfsym
Date: Aug 2, 2006 07:34

Show full article (4.42Kb) · Show article thread
    

Group: microsoft.public.vc.mfc · Group Profile · Search for Hdwp in microsoft.public.vc.mfc
Author: AliR
Date: Aug 1, 2006 09:12

Show full article (1.95Kb) · Show article thread